pub struct BurstDetectorCfg {
pub enabled: bool,
pub window_seconds: u32,
pub threshold: u32,
}Fields§
§enabled: bool§window_seconds: u32§threshold: u32Trait Implementations§
Source§impl Clone for BurstDetectorCfg
impl Clone for BurstDetectorCfg
Source§fn clone(&self) -> BurstDetectorCfg
fn clone(&self) -> BurstDetectorCfg
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 BurstDetectorCfg
impl Debug for BurstDetectorCfg
Source§impl Default for BurstDetectorCfg
impl Default for BurstDetectorCfg
Source§impl<'de> Deserialize<'de> for BurstDetectorCfg
impl<'de> Deserialize<'de> for BurstDetectorCfg
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 BurstDetectorCfg
impl RefUnwindSafe for BurstDetectorCfg
impl Send for BurstDetectorCfg
impl Sync for BurstDetectorCfg
impl Unpin for BurstDetectorCfg
impl UnsafeUnpin for BurstDetectorCfg
impl UnwindSafe for BurstDetectorCfg
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