redfish_codegen/models/manager_diagnostic_data/v1_2_0/
memory_ecc_statistics.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// The memory ECC statistics of a manager.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct MemoryECCStatistics {
9    /// The number of the correctable errors since reset.
10    #[serde(rename = "CorrectableECCErrorCount")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub correctable_ecc_error_count: Option<i64>,
13    /// The number of the uncorrectable errors since reset.
14    #[serde(rename = "UncorrectableECCErrorCount")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub uncorrectable_ecc_error_count: Option<i64>,
17}
18
19impl crate::Metadata<'static> for MemoryECCStatistics {
20    const JSON_SCHEMA: &'static str = "ManagerDiagnosticData.v1_2_0.json";
21}