/// Returns the MonitoringStatus reflecting the worst status based on Thresholds
/// Critical is worse than Warning is worse than OK
Returns the MonitoringStatus reflecting the worst status based on Thresholds
Critical is worse than Warning is worse than OK
Returns the MonitoringStatus reflecting the worst status based on Thresholds Critical is worse than Warning is worse than OK
pub fn status(&self) -> MonitoringStatus {
        if self.has_critical() {
            MonitoringStatus::Critical
        } else if self.has_warning() {
            MonitoringStatus::Warning
        } else {
            MonitoringStatus::OK
        }
    }
pub fn status ( & self ) -> MonitoringStatus { if self . has_critical ( ) { MonitoringStatus :: Critical } else if self . has_warning ( ) { MonitoringStatus :: Warning } else { MonitoringStatus :: OK } }
Returns the MonitoringStatus reflecting the worst status based on Thresholds
Critical is worse than Warning is worse than OK
Returns the MonitoringStatus reflecting the worst status based on Thresholds Critical is worse than Warning is worse than OK
&self