pub struct DecayingModelParameters {
pub lifetime: Option<f32>,
pub decay_speed: Option<f32>,
pub threshold: Option<f32>,
pub default_base_score: Option<f32>,
pub base_score_config: Option<Value>,
}
Fields§
§lifetime: Option<f32>
§decay_speed: Option<f32>
§threshold: Option<f32>
§default_base_score: Option<f32>
§base_score_config: Option<Value>
Implementations§
Source§impl DecayingModelParameters
impl DecayingModelParameters
pub fn new() -> DecayingModelParameters
Trait Implementations§
Source§impl Clone for DecayingModelParameters
impl Clone for DecayingModelParameters
Source§fn clone(&self) -> DecayingModelParameters
fn clone(&self) -> DecayingModelParameters
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 DecayingModelParameters
impl Debug for DecayingModelParameters
Source§impl Default for DecayingModelParameters
impl Default for DecayingModelParameters
Source§fn default() -> DecayingModelParameters
fn default() -> DecayingModelParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DecayingModelParameters
impl<'de> Deserialize<'de> for DecayingModelParameters
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
Source§impl PartialEq for DecayingModelParameters
impl PartialEq for DecayingModelParameters
Source§impl Serialize for DecayingModelParameters
impl Serialize for DecayingModelParameters
impl StructuralPartialEq for DecayingModelParameters
Auto Trait Implementations§
impl Freeze for DecayingModelParameters
impl RefUnwindSafe for DecayingModelParameters
impl Send for DecayingModelParameters
impl Sync for DecayingModelParameters
impl Unpin for DecayingModelParameters
impl UnwindSafe for DecayingModelParameters
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