redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Generated by redfish-codegen. Do not modify.


/// Single-root input/output virtualization (SR-IOV) capabilities.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct SRIOV {
    /// An indication of whether this controller supports single root input/output virtualization (SR-IOV) in Virtual Ethernet Port Aggregator (VEPA) mode.
    #[serde(rename = "SRIOVVEPACapable")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub sriovvepa_capable: Option<bool>,
}

impl crate::Metadata<'static> for SRIOV {
    const JSON_SCHEMA: &'static str = "NetworkAdapter.v1_9_0.json";
}