redfish_codegen/models/switch/v1_9_1/
cxl.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// CXL properties for a switch.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct CXL {
10    /// The maximum number of Virtual CXL Switches (VCSs) supported in this switch.
11    #[serde(rename = "MaxVCSsSupported")]
12    #[serde(default, skip_serializing_if = "Option::is_none")]
13    pub max_vc_ss_supported: Option<i64>,
14    /// The total number of virtual PCI-to-PCI bridges (vPPBs) supported in this switch.
15    #[serde(rename = "TotalNumbervPPBs")]
16    #[serde(default, skip_serializing_if = "Option::is_none")]
17    pub total_numberv_pp_bs: Option<i64>,
18    #[serde(rename = "VCS")]
19    #[serde(default, skip_serializing_if = "Option::is_none")]
20    pub vcs: Option<models::switch::v1_9_1::VCSSwitch>,
21}
22
23impl crate::Metadata<'static> for CXL {
24    const JSON_SCHEMA: &'static str = "Switch.v1_9_1.json";
25}