pub struct LearningConfig {
pub enabled: bool,
pub sona_mode: String,
pub distill_interval_hours: u64,
pub auto_promote_quality: f32,
pub auto_promote_min_usage: u32,
}Expand description
Learning engine configuration (RFC-012 Phase 4).
Controls SONA self-learning persistence.
Fields§
§enabled: boolEnable the learning subsystem (SONA).
sona_mode: StringSONA operating mode: “realtime”, “balanced”, “research”, “edge”.
distill_interval_hours: u64Interval between automatic distillation runs (hours).
auto_promote_quality: f32Minimum quality score for auto-promoting patterns to long-term.
auto_promote_min_usage: u32Minimum usage count before auto-promotion is considered.
Trait Implementations§
Source§impl Clone for LearningConfig
impl Clone for LearningConfig
Source§fn clone(&self) -> LearningConfig
fn clone(&self) -> LearningConfig
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 LearningConfig
impl Debug for LearningConfig
Source§impl Default for LearningConfig
impl Default for LearningConfig
Source§impl<'de> Deserialize<'de> for LearningConfig
impl<'de> Deserialize<'de> for LearningConfig
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 LearningConfig
impl RefUnwindSafe for LearningConfig
impl Send for LearningConfig
impl Sync for LearningConfig
impl Unpin for LearningConfig
impl UnsafeUnpin for LearningConfig
impl UnwindSafe for LearningConfig
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