pub struct DeviceWired {
pub core: Device,
pub perm_hw_address: Property<String>,
pub speed: Property<SpeedMbps>,
pub s390_subchannels: Property<Vec<String>>,
}Expand description
Wired (Ethernet) network device.
Provides access to wired-specific properties like link speed and permanent hardware address while inheriting all base device properties through Deref.
Fields§
§core: DeviceThe underlying NetworkManager device providing core network functionality.
perm_hw_address: Property<String>Permanent hardware address of the device.
speed: Property<SpeedMbps>Design speed of the device, in megabits/second (Mb/s).
s390_subchannels: Property<Vec<String>>Array of S/390 subchannels for S/390 or z/Architecture devices.
Trait Implementations§
Source§impl Clone for DeviceWired
impl Clone for DeviceWired
Source§fn clone(&self) -> DeviceWired
fn clone(&self) -> DeviceWired
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 DeviceWired
impl Debug for DeviceWired
Source§impl ModelMonitoring for DeviceWired
impl ModelMonitoring for DeviceWired
Auto Trait Implementations§
impl !RefUnwindSafe for DeviceWired
impl !UnwindSafe for DeviceWired
impl Freeze for DeviceWired
impl Send for DeviceWired
impl Sync for DeviceWired
impl Unpin for DeviceWired
impl UnsafeUnpin for DeviceWired
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