redfish_codegen/models/pcie_device/v1_11_1/
pcie_errors.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// The PCIe errors associated with this device.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct PCIeErrors {
9    /// The total number of the PCIe correctable errors for this device.
10    #[serde(rename = "CorrectableErrorCount")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub correctable_error_count: Option<i64>,
13    /// The total number of the PCIe fatal errors for this device.
14    #[serde(rename = "FatalErrorCount")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub fatal_error_count: Option<i64>,
17    /// The total number of times the PCIe link states transitioned from L0 to the recovery state for this device.
18    #[serde(rename = "L0ToRecoveryCount")]
19    #[serde(default, skip_serializing_if = "Option::is_none")]
20    pub l0t_recovery_count: Option<i64>,
21    /// The total number of NAKs issued on the PCIe link by the receiver.
22    #[serde(rename = "NAKReceivedCount")]
23    #[serde(default, skip_serializing_if = "Option::is_none")]
24    pub nak_received_count: Option<i64>,
25    /// The total number of NAKs issued on the PCIe link by this device.
26    #[serde(rename = "NAKSentCount")]
27    #[serde(default, skip_serializing_if = "Option::is_none")]
28    pub nak_sent_count: Option<i64>,
29    /// The total number of the PCIe non-fatal errors for this device.
30    #[serde(rename = "NonFatalErrorCount")]
31    #[serde(default, skip_serializing_if = "Option::is_none")]
32    pub non_fatal_error_count: Option<i64>,
33    /// The total number of the PCIe replays issued by this device.
34    #[serde(rename = "ReplayCount")]
35    #[serde(default, skip_serializing_if = "Option::is_none")]
36    pub replay_count: Option<i64>,
37    /// The total number of the PCIe replay rollovers issued by this device.
38    #[serde(rename = "ReplayRolloverCount")]
39    #[serde(default, skip_serializing_if = "Option::is_none")]
40    pub replay_rollover_count: Option<i64>,
41}
42
43impl crate::Metadata<'static> for PCIeErrors {
44    const JSON_SCHEMA: &'static str = "PCIeDevice.v1_11_1.json";
45}