pub struct SuppressionConfig {
pub rules: Vec<SuppressionRule>,
pub default_suppression_time: Duration,
}Expand description
Suppression configuration
Fields§
§rules: Vec<SuppressionRule>Suppression rules
default_suppression_time: DurationDefault suppression time
Trait Implementations§
Source§impl Clone for SuppressionConfig
impl Clone for SuppressionConfig
Source§fn clone(&self) -> SuppressionConfig
fn clone(&self) -> SuppressionConfig
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 SuppressionConfig
impl Debug for SuppressionConfig
Source§impl Default for SuppressionConfig
impl Default for SuppressionConfig
Source§impl<'de> Deserialize<'de> for SuppressionConfig
impl<'de> Deserialize<'de> for SuppressionConfig
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 SuppressionConfig
impl RefUnwindSafe for SuppressionConfig
impl Send for SuppressionConfig
impl Sync for SuppressionConfig
impl Unpin for SuppressionConfig
impl UnwindSafe for SuppressionConfig
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