// Generated by redfish-codegen. Do not modify.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum ThrottleCause {
/// The cause of the processor being throttled is a power limit.
PowerLimit,
/// The cause of the processor being throttled is a thermal limit.
ThermalLimit,
/// The cause of the processor being throttled is a clock limit.
ClockLimit,
/// The cause of the processor being throttled is not known.
Unknown,
/// The cause of the processor being throttled is OEM-specific.
OEM,
}
#[allow(clippy::derivable_impls)]
impl Default for ThrottleCause {
fn default() -> ThrottleCause {
ThrottleCause::PowerLimit
}
}
impl crate::Metadata<'static> for ThrottleCause {
const JSON_SCHEMA: &'static str = "Processor.v1_17_0.json";
}