pub struct ImportanceConfig {
pub lambda: f32,
pub frequency_normalize: f32,
pub weight_recency: f32,
pub weight_frequency: f32,
pub weight_semantic: f32,
pub weight_explicit: f32,
}Fields§
§lambda: f32§frequency_normalize: f32§weight_recency: f32§weight_frequency: f32§weight_semantic: f32§weight_explicit: f32Trait Implementations§
Source§impl Clone for ImportanceConfig
impl Clone for ImportanceConfig
Source§fn clone(&self) -> ImportanceConfig
fn clone(&self) -> ImportanceConfig
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 ImportanceConfig
impl Debug for ImportanceConfig
Source§impl Default for ImportanceConfig
impl Default for ImportanceConfig
Source§impl<'de> Deserialize<'de> for ImportanceConfig
impl<'de> Deserialize<'de> for ImportanceConfig
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 ImportanceConfig
impl RefUnwindSafe for ImportanceConfig
impl Send for ImportanceConfig
impl Sync for ImportanceConfig
impl Unpin for ImportanceConfig
impl UnsafeUnpin for ImportanceConfig
impl UnwindSafe for ImportanceConfig
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