pub struct ConversationSettings {
pub max_messages: Option<usize>,
pub max_age_hours: Option<u64>,
pub auto_summarize_threshold: Option<usize>,
}Expand description
Settings for individual conversations
Fields§
§max_messages: Option<usize>Maximum messages per conversation
max_age_hours: Option<u64>Maximum age for messages
auto_summarize_threshold: Option<usize>Auto-summarization threshold
Trait Implementations§
Source§impl Clone for ConversationSettings
impl Clone for ConversationSettings
Source§fn clone(&self) -> ConversationSettings
fn clone(&self) -> ConversationSettings
Returns a duplicate of the value. Read more
1.0.0 · 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 ConversationSettings
impl Debug for ConversationSettings
Auto Trait Implementations§
impl Freeze for ConversationSettings
impl RefUnwindSafe for ConversationSettings
impl Send for ConversationSettings
impl Sync for ConversationSettings
impl Unpin for ConversationSettings
impl UnwindSafe for ConversationSettings
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