pub struct EthernetSettings {
pub auto_negotiate: bool,
pub cloned_mac_address: String,
pub duplex: Duplex,
pub mtu: u32,
pub name: String,
pub speed: u32,
}
Fields§
§auto_negotiate: bool
§cloned_mac_address: String
§duplex: Duplex
§mtu: u32
§name: String
§speed: u32
Trait Implementations§
Source§impl Clone for EthernetSettings
impl Clone for EthernetSettings
Source§fn clone(&self) -> EthernetSettings
fn clone(&self) -> EthernetSettings
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 EthernetSettings
impl Debug for EthernetSettings
Source§impl Default for EthernetSettings
impl Default for EthernetSettings
Source§fn default() -> EthernetSettings
fn default() -> EthernetSettings
Returns the “default value” for a type. Read more
Source§impl PropMapConvert for EthernetSettings
impl PropMapConvert for EthernetSettings
fn from_propmap(map: PropMap) -> Self
fn to_propmap(&self, map: &mut PropMap)
Auto Trait Implementations§
impl Freeze for EthernetSettings
impl RefUnwindSafe for EthernetSettings
impl Send for EthernetSettings
impl Sync for EthernetSettings
impl Unpin for EthernetSettings
impl UnwindSafe for EthernetSettings
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