pub struct MemoryServiceConfig {
pub default_conversation_settings: ConversationSettings,
pub enable_persistence: bool,
pub persistence_interval_seconds: u64,
}Expand description
Configuration for the memory service
Fields§
§default_conversation_settings: ConversationSettingsDefault conversation settings
enable_persistence: boolEnable memory persistence
persistence_interval_seconds: u64Persistence interval in seconds
Trait Implementations§
Source§impl Clone for MemoryServiceConfig
impl Clone for MemoryServiceConfig
Source§fn clone(&self) -> MemoryServiceConfig
fn clone(&self) -> MemoryServiceConfig
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 MemoryServiceConfig
impl Debug for MemoryServiceConfig
Auto Trait Implementations§
impl Freeze for MemoryServiceConfig
impl RefUnwindSafe for MemoryServiceConfig
impl Send for MemoryServiceConfig
impl Sync for MemoryServiceConfig
impl Unpin for MemoryServiceConfig
impl UnwindSafe for MemoryServiceConfig
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