pub struct ConversationConfig {
pub idle_gap_mins: Option<u32>,
pub handoff_cooldown_mins: Option<u32>,
pub max_history_messages: Option<u32>,
}Expand description
Per-tenant overrides for the conversation timing knobs.
Fields§
§idle_gap_mins: Option<u32>§handoff_cooldown_mins: Option<u32>§max_history_messages: Option<u32>Implementations§
Source§impl ConversationConfig
impl ConversationConfig
pub fn resolve(&self) -> ConversationWindow
Trait Implementations§
Source§impl Clone for ConversationConfig
impl Clone for ConversationConfig
Source§fn clone(&self) -> ConversationConfig
fn clone(&self) -> ConversationConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConversationConfig
impl Debug for ConversationConfig
Source§impl Default for ConversationConfig
impl Default for ConversationConfig
Source§fn default() -> ConversationConfig
fn default() -> ConversationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConversationConfig
impl<'de> Deserialize<'de> for ConversationConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConversationConfig
impl RefUnwindSafe for ConversationConfig
impl Send for ConversationConfig
impl Sync for ConversationConfig
impl Unpin for ConversationConfig
impl UnsafeUnpin for ConversationConfig
impl UnwindSafe for ConversationConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more