pub struct BackgroundReflectionConfig {
pub enabled: bool,
pub check_interval_minutes: u64,
pub min_reflection_interval_minutes: u64,
pub max_concurrent_sessions: usize,
pub session_timeout_minutes: u64,
pub store_insights_as_memories: bool,
pub enable_quality_filtering: bool,
pub enable_metrics: bool,
pub max_retry_attempts: u32,
pub retry_backoff_multiplier: f64,
pub priority_thresholds: PriorityThresholds,
}Expand description
Configuration for the background reflection service
Fields§
§enabled: boolEnable the background reflection service
check_interval_minutes: u64Interval between background reflection checks (minutes)
min_reflection_interval_minutes: u64Minimum time between reflection sessions (minutes)
max_concurrent_sessions: usizeMaximum concurrent reflection sessions
session_timeout_minutes: u64Timeout for individual reflection sessions (minutes)
store_insights_as_memories: boolEnable automatic insight storage as memories
enable_quality_filtering: boolEnable quality filtering for generated insights
enable_metrics: boolEnable performance monitoring
max_retry_attempts: u32Maximum retries for failed reflection attempts
retry_backoff_multiplier: f64Backoff multiplier for retry delays (exponential backoff)
priority_thresholds: PriorityThresholdsPriority thresholds for different trigger types
Trait Implementations§
Source§impl Clone for BackgroundReflectionConfig
impl Clone for BackgroundReflectionConfig
Source§fn clone(&self) -> BackgroundReflectionConfig
fn clone(&self) -> BackgroundReflectionConfig
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 BackgroundReflectionConfig
impl Debug for BackgroundReflectionConfig
Source§impl Default for BackgroundReflectionConfig
impl Default for BackgroundReflectionConfig
Source§impl<'de> Deserialize<'de> for BackgroundReflectionConfig
impl<'de> Deserialize<'de> for BackgroundReflectionConfig
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 BackgroundReflectionConfig
impl RefUnwindSafe for BackgroundReflectionConfig
impl Send for BackgroundReflectionConfig
impl Sync for BackgroundReflectionConfig
impl Unpin for BackgroundReflectionConfig
impl UnwindSafe for BackgroundReflectionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more