redfish_codegen/models/memory_metrics/v1_7_0/
alarm_trips.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// The alarm trip information about the memory.  These alarms are reset when the system resets.  Note that if they are re-discovered they can be reasserted.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct AlarmTrips {
9    /// An indication of whether an address parity error was detected that a retry could not correct.
10    #[serde(rename = "AddressParityError")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub address_parity_error: Option<bool>,
13    /// An indication of whether the correctable error threshold crossing alarm trip was detected.
14    #[serde(rename = "CorrectableECCError")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub correctable_ecc_error: Option<bool>,
17    /// An indication of whether the spare block capacity crossing alarm trip was detected.
18    #[serde(rename = "SpareBlock")]
19    #[serde(default, skip_serializing_if = "Option::is_none")]
20    pub spare_block: Option<bool>,
21    /// An indication of whether a temperature threshold alarm trip was detected.
22    #[serde(rename = "Temperature")]
23    #[serde(default, skip_serializing_if = "Option::is_none")]
24    pub temperature: Option<bool>,
25    /// An indication of whether the uncorrectable error threshold alarm trip was detected.
26    #[serde(rename = "UncorrectableECCError")]
27    #[serde(default, skip_serializing_if = "Option::is_none")]
28    pub uncorrectable_ecc_error: Option<bool>,
29}
30
31impl crate::Metadata<'static> for AlarmTrips {
32    const JSON_SCHEMA: &'static str = "MemoryMetrics.v1_7_0.json";
33}