pub struct ConversationsConfig {
pub enabled: bool,
pub retention_days: u32,
pub poll_interval_secs: u64,
pub sources: ConversationsSources,
pub filter: ConversationsFilter,
pub compact: CompactConfig,
pub ask: AskConfig,
pub rollup: RollupConfig,
}Expand description
Phase 1 conversations archive config (Task 23).
Hard defaults: off-by-default (enabled: false), 30-day retention,
5-minute poll interval, all sources enabled, Mem0-style REJECT filters on,
dedup threshold 0.85. Every sub-field is serde-default so a config.yaml
without a conversations: section still parses.
Fields§
§enabled: bool§retention_days: u32§poll_interval_secs: u64§sources: ConversationsSources§filter: ConversationsFilter§compact: CompactConfig§ask: AskConfig§rollup: RollupConfigTrait Implementations§
Source§impl Clone for ConversationsConfig
impl Clone for ConversationsConfig
Source§fn clone(&self) -> ConversationsConfig
fn clone(&self) -> ConversationsConfig
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 ConversationsConfig
impl Debug for ConversationsConfig
Source§impl Default for ConversationsConfig
impl Default for ConversationsConfig
Source§impl<'de> Deserialize<'de> for ConversationsConfig
impl<'de> Deserialize<'de> for ConversationsConfig
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 ConversationsConfig
impl RefUnwindSafe for ConversationsConfig
impl Send for ConversationsConfig
impl Sync for ConversationsConfig
impl Unpin for ConversationsConfig
impl UnsafeUnpin for ConversationsConfig
impl UnwindSafe for ConversationsConfig
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