/// This returns true if the given value lies inside the given Threshold and
/// as such should produce a critical, or warning response.
/// (See also [with_crit()](`crate::Perfdata::with_crit()`) and [with_warn()](`crate::Perfdata::with_warn()`).
This returns true if the given value lies inside the given Threshold and
as such should produce a critical, or warning response.
This returns true if the given value lies inside the given Threshold and as such should produce a critical or warning response .
pub fn is_alert<T: Into<Value>>(&self, value: T) -> bool {
        let value = value.into();
        let is_inside = value >= self.start && value <= self.end;
        if self.alert_inside {
            is_inside
        } else {
            !is_inside
        }
    }
pub fn is_alert < T : Into < Value > > ( & self , value : T ) -> bool { let value = value . into ( ) ; let is_inside = value >= self . start && value <= self . end ; if self . alert_inside { is_inside } else { ! is_inside } }
This returns true if the given value lies inside the given Threshold and
as such should produce a critical, or warning response.
This returns true if the given value lies inside the given Threshold and as such should produce a critical or warning response .
&self
value
T