redfish_codegen/models/network_device_function/v1_9_0/
network_device_technology.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum NetworkDeviceTechnology {
6    /// Neither enumerated nor visible to the operating system.
7    Disabled,
8    /// Appears to the operating system as an Ethernet device.
9    Ethernet,
10    /// Appears to the operating system as a Fibre Channel device.
11    FibreChannel,
12    /// Appears to the operating system as an iSCSI device.
13    #[serde(rename = "iSCSI")]
14    Iscsi,
15    /// Appears to the operating system as an FCoE device.
16    FibreChannelOverEthernet,
17    /// Appears to the operating system as an InfiniBand device. Added in version v1_5_0.
18    InfiniBand,
19}
20
21#[allow(clippy::derivable_impls)]
22impl Default for NetworkDeviceTechnology {
23     fn default() -> NetworkDeviceTechnology {
24        NetworkDeviceTechnology::Disabled
25     }
26}
27
28impl crate::Metadata<'static> for NetworkDeviceTechnology {
29    const JSON_SCHEMA: &'static str = "NetworkDeviceFunction.v1_9_0.json";
30}