redfish_codegen/models/port/v1_9_0/
qo_s_telemetry_capabilities.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// The quality of service telemetry capabilities for a CXL port.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct QoSTelemetryCapabilities {
9    /// Indicates whether the port supports the CXL Specification-defined 'Egress Port Backpressure' mechanism.
10    #[serde(rename = "EgressPortBackpressureSupported")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub egress_port_backpressure_supported: Option<bool>,
13    /// Indicates whether the port supports the CXL Specification-defined 'Temporary Throughput Reduction' mechanism.
14    #[serde(rename = "TemporaryThroughputReductionSupported")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub temporary_throughput_reduction_supported: Option<bool>,
17}
18
19impl crate::Metadata<'static> for QoSTelemetryCapabilities {
20    const JSON_SCHEMA: &'static str = "Port.v1_9_0.json";
21}