Struct redfish_codegen::models::processor::v1_17_0::EthernetInterface
source · pub struct EthernetInterface {
pub max_lanes: Option<i64>,
pub max_speed_mbps: Option<i64>,
pub oem: Option<Oem>,
}
Expand description
This type defines an Ethernet interface.
Fields§
§max_lanes: Option<i64>
The number of lanes supported by this interface.
max_speed_mbps: Option<i64>
The maximum speed supported by this interface.
oem: Option<Oem>
Trait Implementations§
source§impl Clone for EthernetInterface
impl Clone for EthernetInterface
source§fn clone(&self) -> EthernetInterface
fn clone(&self) -> EthernetInterface
Returns a copy of the value. Read more
1.0.0 · 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 EthernetInterface
impl Debug for EthernetInterface
source§impl Default for EthernetInterface
impl Default for EthernetInterface
source§fn default() -> EthernetInterface
fn default() -> EthernetInterface
Returns the “default value” for a type. Read more
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