pub struct SuppressionRule {
pub id: String,
pub label_matchers: HashMap<String, String>,
pub duration: Duration,
pub reason: String,
}Expand description
Suppression rule
Fields§
§id: StringRule identifier
label_matchers: HashMap<String, String>Labels to match for suppression
duration: DurationSuppression duration
reason: StringReason for suppression
Trait Implementations§
Source§impl Clone for SuppressionRule
impl Clone for SuppressionRule
Source§fn clone(&self) -> SuppressionRule
fn clone(&self) -> SuppressionRule
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 SuppressionRule
impl Debug for SuppressionRule
Source§impl<'de> Deserialize<'de> for SuppressionRule
impl<'de> Deserialize<'de> for SuppressionRule
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 SuppressionRule
impl RefUnwindSafe for SuppressionRule
impl Send for SuppressionRule
impl Sync for SuppressionRule
impl Unpin for SuppressionRule
impl UnwindSafe for SuppressionRule
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