pub struct BehavioralSettings {
pub baseline_enabled: Option<bool>,
pub deviation_threshold: Option<f64>,
pub window_minutes: Option<u64>,
}Fields§
§baseline_enabled: Option<bool>§deviation_threshold: Option<f64>§window_minutes: Option<u64>Trait Implementations§
Source§impl Clone for BehavioralSettings
impl Clone for BehavioralSettings
Source§fn clone(&self) -> BehavioralSettings
fn clone(&self) -> BehavioralSettings
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 BehavioralSettings
impl Debug for BehavioralSettings
Source§impl Default for BehavioralSettings
impl Default for BehavioralSettings
Source§fn default() -> BehavioralSettings
fn default() -> BehavioralSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BehavioralSettingswhere
BehavioralSettings: Default,
impl<'de> Deserialize<'de> for BehavioralSettingswhere
BehavioralSettings: Default,
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 BehavioralSettings
impl PartialEq for BehavioralSettings
Source§fn eq(&self, other: &BehavioralSettings) -> bool
fn eq(&self, other: &BehavioralSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BehavioralSettings
impl Serialize for BehavioralSettings
impl StructuralPartialEq for BehavioralSettings
Auto Trait Implementations§
impl Freeze for BehavioralSettings
impl RefUnwindSafe for BehavioralSettings
impl Send for BehavioralSettings
impl Sync for BehavioralSettings
impl Unpin for BehavioralSettings
impl UnsafeUnpin for BehavioralSettings
impl UnwindSafe for BehavioralSettings
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