pub struct AlertEvent {
pub at_ms: u64,
pub host: String,
pub change: AlertChange,
pub alert: Alert,
}Expand description
One entry of the AlertLog.
Fields§
§at_ms: u64When the change was seen, in milliseconds since the Unix epoch.
host: String§change: AlertChange§alert: AlertThe alert as raised, or as last seen before it cleared.
Trait Implementations§
Source§impl Clone for AlertEvent
impl Clone for AlertEvent
Source§impl Debug for AlertEvent
impl Debug for AlertEvent
impl Eq for AlertEvent
Source§impl PartialEq for AlertEvent
impl PartialEq for AlertEvent
impl StructuralPartialEq for AlertEvent
Auto Trait Implementations§
impl Freeze for AlertEvent
impl RefUnwindSafe for AlertEvent
impl Send for AlertEvent
impl Sync for AlertEvent
impl Unpin for AlertEvent
impl UnsafeUnpin for AlertEvent
impl UnwindSafe for AlertEvent
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,
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.