redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
// Generated by redfish-codegen. Do not modify.


/// InfiniBand-specific properties for a port.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct InfiniBandProperties {
    /// An array of configured node GUIDs that are associated with this network port, including the programmed address of the lowest numbered network device function, the configured but not active address, if applicable, the address for hardware port teaming, or other network addresses.
    #[serde(rename = "AssociatedNodeGUIDs")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub associated_node_gui_ds: Option<Vec<String>>,
    /// An array of configured port GUIDs that are associated with this network port, including the programmed address of the lowest numbered network device function, the configured but not active address, if applicable, the address for hardware port teaming, or other network addresses.
    #[serde(rename = "AssociatedPortGUIDs")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub associated_port_gui_ds: Option<Vec<String>>,
    /// An array of configured system GUIDs that are associated with this network port, including the programmed address of the lowest numbered network device function, the configured but not active address, if applicable, the address for hardware port teaming, or other network addresses.
    #[serde(rename = "AssociatedSystemGUIDs")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub associated_system_gui_ds: Option<Vec<String>>,
}

impl crate::Metadata<'static> for InfiniBandProperties {
    const JSON_SCHEMA: &'static str = "Port.v1_8_0.json";
}