pub struct EthernetInterface {
pub oem: Option<Oem>,
pub max_speed_mbps: Option<Option<Int64>>,
pub max_lanes: Option<Option<Int64>>,
}Expand description
This type defines an Ethernet interface.
These properties shall contain the definition for an Ethernet interface for a Redfish implementation.
Fields§
§oem: Option<Oem>The OEM extension property.
This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements.
max_speed_mbps: Option<Option<Int64>>The maximum speed supported by this interface.
This property shall contain the maximum speed supported by this interface.
max_lanes: Option<Option<Int64>>The number of lanes supported by this interface.
This property shall contain the maximum number of lanes supported by this interface.
Trait Implementations§
Source§impl Debug for EthernetInterface
impl Debug for EthernetInterface
Source§impl<'de> Deserialize<'de> for EthernetInterface
impl<'de> Deserialize<'de> for EthernetInterface
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
Auto Trait Implementations§
impl Freeze for EthernetInterface
impl RefUnwindSafe for EthernetInterface
impl Send for EthernetInterface
impl Sync for EthernetInterface
impl Unpin for EthernetInterface
impl UnsafeUnpin for EthernetInterface
impl UnwindSafe for EthernetInterface
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