pub struct FiredAlert {
pub entry_index: usize,
pub action: AlertAction,
}Expand description
A triggered alert: the index of the matching entry and the action.
Fields§
§entry_index: usizeIndex into the entries slice.
action: AlertActionWhat to do about it.
Trait Implementations§
Source§impl Clone for FiredAlert
impl Clone for FiredAlert
Source§fn clone(&self) -> FiredAlert
fn clone(&self) -> FiredAlert
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 moreAuto Trait Implementations§
impl Freeze for FiredAlert
impl RefUnwindSafe for FiredAlert
impl Send for FiredAlert
impl Sync for FiredAlert
impl Unpin for FiredAlert
impl UnsafeUnpin for FiredAlert
impl UnwindSafe for FiredAlert
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