Enum nagiosplugin::TriggerIfValue
source · pub enum TriggerIfValue {
Greater,
Less,
}
Expand description
Defines if a metric triggers if value is greater or less than the thresholds.
Variants§
Trait Implementations§
source§impl Clone for TriggerIfValue
impl Clone for TriggerIfValue
source§fn clone(&self) -> TriggerIfValue
fn clone(&self) -> TriggerIfValue
Returns a copy 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 moresource§impl Debug for TriggerIfValue
impl Debug for TriggerIfValue
source§impl From<&TriggerIfValue> for Ordering
impl From<&TriggerIfValue> for Ordering
source§fn from(v: &TriggerIfValue) -> Self
fn from(v: &TriggerIfValue) -> Self
Converts to this type from the input type.
source§impl Ord for TriggerIfValue
impl Ord for TriggerIfValue
source§fn cmp(&self, other: &TriggerIfValue) -> Ordering
fn cmp(&self, other: &TriggerIfValue) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TriggerIfValue
impl PartialEq for TriggerIfValue
source§fn eq(&self, other: &TriggerIfValue) -> bool
fn eq(&self, other: &TriggerIfValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TriggerIfValue
impl PartialOrd for TriggerIfValue
source§fn partial_cmp(&self, other: &TriggerIfValue) -> Option<Ordering>
fn partial_cmp(&self, other: &TriggerIfValue) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TriggerIfValue
impl Eq for TriggerIfValue
impl StructuralEq for TriggerIfValue
impl StructuralPartialEq for TriggerIfValue
Auto Trait Implementations§
impl RefUnwindSafe for TriggerIfValue
impl Send for TriggerIfValue
impl Sync for TriggerIfValue
impl Unpin for TriggerIfValue
impl UnwindSafe for TriggerIfValue
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