pub struct Ethernet {
pub ethernet_interfaces: Option<IdRef>,
pub mac_address: Option<String>,
pub mtu_size: Option<i64>,
pub mtu_size_maximum: Option<i64>,
pub permanent_mac_address: Option<String>,
pub vlan: Option<VLAN>,
pub vlans: Option<IdRef>,
}
Expand description
This type describes Ethernet capabilities, status, and configuration for a network device function.
Fields§
§ethernet_interfaces: Option<IdRef>
§mac_address: Option<String>
The currently configured MAC address.
mtu_size: Option<i64>
The maximum transmission unit (MTU) configured for this network device function.
mtu_size_maximum: Option<i64>
The largest maximum transmission unit (MTU) size supported for this network device function.
permanent_mac_address: Option<String>
The permanent MAC address assigned to this function.
vlan: Option<VLAN>
§vlans: Option<IdRef>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ethernet
impl<'de> Deserialize<'de> for Ethernet
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 Metadata<'static> for Ethernet
impl Metadata<'static> for Ethernet
Source§const JSON_SCHEMA: &'static str = "NetworkDeviceFunction.v1_9_0.json"
const JSON_SCHEMA: &'static str = "NetworkDeviceFunction.v1_9_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for Ethernet
impl RefUnwindSafe for Ethernet
impl Send for Ethernet
impl Sync for Ethernet
impl Unpin for Ethernet
impl UnwindSafe for Ethernet
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