pub struct AbsentDataAlert {
pub enabled: bool,
pub for_seconds: Option<u32>,
}Expand description
Alerts when a metric stops reporting data.
Fields§
§enabled: boolWhether absent-data alerting is on.
for_seconds: Option<u32>Fire after the metric has been absent this long.
Trait Implementations§
Source§impl Clone for AbsentDataAlert
impl Clone for AbsentDataAlert
Source§fn clone(&self) -> AbsentDataAlert
fn clone(&self) -> AbsentDataAlert
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 AbsentDataAlert
impl Debug for AbsentDataAlert
Source§impl Default for AbsentDataAlert
impl Default for AbsentDataAlert
Source§fn default() -> AbsentDataAlert
fn default() -> AbsentDataAlert
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AbsentDataAlert
impl<'de> Deserialize<'de> for AbsentDataAlert
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 AbsentDataAlert
impl RefUnwindSafe for AbsentDataAlert
impl Send for AbsentDataAlert
impl Sync for AbsentDataAlert
impl Unpin for AbsentDataAlert
impl UnsafeUnpin for AbsentDataAlert
impl UnwindSafe for AbsentDataAlert
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