pub enum AlertStatus {
Firing,
Resolved,
}Expand description
Whether an emitted alert signals a rule firing or recovering.
Variants§
Firing
The rule’s condition is currently met.
Resolved
The rule’s condition cleared after previously firing.
Trait Implementations§
Source§impl Clone for AlertStatus
impl Clone for AlertStatus
impl Copy for AlertStatus
Source§impl Debug for AlertStatus
impl Debug for AlertStatus
impl Eq for AlertStatus
Source§impl PartialEq for AlertStatus
impl PartialEq for AlertStatus
impl StructuralPartialEq for AlertStatus
Auto Trait Implementations§
impl Freeze for AlertStatus
impl RefUnwindSafe for AlertStatus
impl Send for AlertStatus
impl Sync for AlertStatus
impl Unpin for AlertStatus
impl UnsafeUnpin for AlertStatus
impl UnwindSafe for AlertStatus
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