pub struct AlertMatchType(/* private fields */);Expand description
How a condition must be met over the evaluation window.
Implementations§
Source§impl AlertMatchType
impl AlertMatchType
Sourcepub const AT_LEAST_ONCE: Self
pub const AT_LEAST_ONCE: Self
Fire if the threshold is crossed at least once. The default.
Sourcepub const ALL_THE_TIME: Self
pub const ALL_THE_TIME: Self
Fire only if crossed for the whole window.
Sourcepub const ON_AVERAGE: Self
pub const ON_AVERAGE: Self
Fire on the window average.
Trait Implementations§
Source§impl AsRef<str> for AlertMatchType
impl AsRef<str> for AlertMatchType
Source§impl Clone for AlertMatchType
impl Clone for AlertMatchType
Source§fn clone(&self) -> AlertMatchType
fn clone(&self) -> AlertMatchType
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 AlertMatchType
impl Debug for AlertMatchType
Source§impl<'de> Deserialize<'de> for AlertMatchType
impl<'de> Deserialize<'de> for AlertMatchType
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 Display for AlertMatchType
impl Display for AlertMatchType
impl Eq for AlertMatchType
Source§impl From<&str> for AlertMatchType
impl From<&str> for AlertMatchType
Source§impl From<String> for AlertMatchType
impl From<String> for AlertMatchType
Source§impl Hash for AlertMatchType
impl Hash for AlertMatchType
Source§impl PartialEq for AlertMatchType
impl PartialEq for AlertMatchType
Source§impl Serialize for AlertMatchType
impl Serialize for AlertMatchType
impl StructuralPartialEq for AlertMatchType
Auto Trait Implementations§
impl Freeze for AlertMatchType
impl RefUnwindSafe for AlertMatchType
impl Send for AlertMatchType
impl Sync for AlertMatchType
impl Unpin for AlertMatchType
impl UnsafeUnpin for AlertMatchType
impl UnwindSafe for AlertMatchType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.