redfish_codegen/models/endpoint/v1_8_0/
gcid.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// The Global Component ID (GCID).
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct GCID {
9    /// The component identifier portion of the GCID for the entity.
10    #[serde(rename = "CID")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub cid: Option<String>,
13    /// The subnet identifier portion of the GCID for the entity.
14    #[serde(rename = "SID")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub sid: Option<String>,
17}
18
19impl crate::Metadata<'static> for GCID {
20    const JSON_SCHEMA: &'static str = "Endpoint.v1_8_0.json";
21}