// Generated by redfish-codegen. Do not modify.
/// The syslog severity is an application-specific rating used to describe the urgency of the message.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum SyslogSeverity {
/// A panic condition.
Emergency,
/// A condition that should be corrected immediately, such as a corrupted system database.
Alert,
/// Hard device errors.
Critical,
/// An Error.
Error,
/// A Warning.
Warning,
/// Conditions that are not error conditions, but that may require special handling.
Notice,
/// Informational only.
Informational,
/// Messages that contain information normally of use only when debugging a program.
Debug,
/// A message of any severity.
All,
}
#[allow(clippy::derivable_impls)]
impl Default for SyslogSeverity {
fn default() -> SyslogSeverity {
SyslogSeverity::Emergency
}
}
impl crate::Metadata<'static> for SyslogSeverity {
const JSON_SCHEMA: &'static str = "EventDestination.v1_13_0.json";
}