pub enum EthernetDeviceType {
Physical,
Virtual,
UnsupportedValue,
}Variants§
Physical
A physical Ethernet interface.
This value shall indicate a physical traditional network interface.
Virtual
A virtual Ethernet interface.
This value shall indicate a network device function has multiple VLANs and is representing one of
them as a virtual Ethernet interface. The NetworkDeviceFunction property within Links shall
contain the locator for the parent network device function.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for EthernetDeviceType
impl Clone for EthernetDeviceType
Source§fn clone(&self) -> EthernetDeviceType
fn clone(&self) -> EthernetDeviceType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EthernetDeviceType
impl Debug for EthernetDeviceType
Source§impl<'de> Deserialize<'de> for EthernetDeviceType
impl<'de> Deserialize<'de> for EthernetDeviceType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EthernetDeviceType
impl PartialEq for EthernetDeviceType
Source§fn eq(&self, other: &EthernetDeviceType) -> bool
fn eq(&self, other: &EthernetDeviceType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EthernetDeviceType
impl Serialize for EthernetDeviceType
Source§impl ToSnakeCase for EthernetDeviceType
impl ToSnakeCase for EthernetDeviceType
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringimpl Copy for EthernetDeviceType
impl Eq for EthernetDeviceType
impl StructuralPartialEq for EthernetDeviceType
Auto Trait Implementations§
impl Freeze for EthernetDeviceType
impl RefUnwindSafe for EthernetDeviceType
impl Send for EthernetDeviceType
impl Sync for EthernetDeviceType
impl Unpin for EthernetDeviceType
impl UnsafeUnpin for EthernetDeviceType
impl UnwindSafe for EthernetDeviceType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more