pub struct LongTermConfig {
pub decay_rate: f32,
pub min_salience: f32,
}Expand description
Configuration for long-term store
Fields§
§decay_rate: f32Decay rate for low-salience patterns
min_salience: f32Minimum salience threshold
Trait Implementations§
Source§impl Clone for LongTermConfig
impl Clone for LongTermConfig
Source§fn clone(&self) -> LongTermConfig
fn clone(&self) -> LongTermConfig
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 LongTermConfig
impl Debug for LongTermConfig
Auto Trait Implementations§
impl Freeze for LongTermConfig
impl RefUnwindSafe for LongTermConfig
impl Send for LongTermConfig
impl Sync for LongTermConfig
impl Unpin for LongTermConfig
impl UnwindSafe for LongTermConfig
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