pub struct StoreDecayDefaults {
pub decay_exponent: f64,
pub retrieval_boost: f64,
pub interference_rate: f64,
pub prune_threshold: f64,
}Expand description
Default decay parameters per store type.
Fields§
§decay_exponent: f64§retrieval_boost: f64§interference_rate: f64§prune_threshold: f64Trait Implementations§
Source§impl Clone for StoreDecayDefaults
impl Clone for StoreDecayDefaults
Source§fn clone(&self) -> StoreDecayDefaults
fn clone(&self) -> StoreDecayDefaults
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 StoreDecayDefaults
impl Debug for StoreDecayDefaults
Source§impl<'de> Deserialize<'de> for StoreDecayDefaults
impl<'de> Deserialize<'de> for StoreDecayDefaults
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 StoreDecayDefaults
impl RefUnwindSafe for StoreDecayDefaults
impl Send for StoreDecayDefaults
impl Sync for StoreDecayDefaults
impl Unpin for StoreDecayDefaults
impl UnsafeUnpin for StoreDecayDefaults
impl UnwindSafe for StoreDecayDefaults
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