redfish_codegen/models/component_integrity/v1_2_1/
spd_mcommunication.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// Information about communication between two components.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct SPDMcommunication {
10    /// The active sessions or communication channels between two components.
11    #[serde(rename = "Sessions")]
12    #[serde(default, skip_serializing_if = "Option::is_none")]
13    pub sessions: Option<Vec<models::component_integrity::v1_2_1::SingleSessionInfo>>,
14}
15
16impl crate::Metadata<'static> for SPDMcommunication {
17    const JSON_SCHEMA: &'static str = "ComponentIntegrity.v1_2_1.json";
18}