pub struct Lan {
pub service: String,
pub enabled: Option<bool>,
pub status: Option<String>,
pub speed: Option<String>,
pub duplex: Option<String>,
pub counters: Counters,
}Expand description
A LAN interface and its counters.
Fields§
§service: StringThe service, like LANEthernetInterfaceConfig1.
enabled: Option<bool>§status: Option<String>Like Up or NoLink.
speed: Option<String>The speed, like Auto or 1000.
duplex: Option<String>Like Auto, Half or Full.
counters: CountersTrait Implementations§
impl Eq for Lan
impl StructuralPartialEq for Lan
Auto Trait Implementations§
impl Forget for Lan
impl Freeze for Lan
impl Move for Lan
impl RefUnwindSafe for Lan
impl Send for Lan
impl Sync for Lan
impl Unpin for Lan
impl UnsafeUnpin for Lan
impl UnwindSafe for Lan
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