pub struct Adapter {
pub name: Option<String>,
pub model: Option<String>,
pub mac: Option<String>,
pub active: bool,
pub update_available: Option<bool>,
pub update_result: Option<String>,
}Expand description
A powerline adapter. Values the device does not report are None.
Fields§
§name: Option<String>§model: Option<String>§mac: Option<String>§active: boolWhether the adapter is connected.
update_available: Option<bool>Whether the device offers a firmware update for the adapter.
update_result: Option<String>Whether the last update of the adapter worked: succeeded or
failed.
Trait Implementations§
impl Eq for Adapter
impl StructuralPartialEq for Adapter
Auto Trait Implementations§
impl Forget for Adapter
impl Freeze for Adapter
impl Move for Adapter
impl RefUnwindSafe for Adapter
impl Send for Adapter
impl Sync for Adapter
impl Unpin for Adapter
impl UnsafeUnpin for Adapter
impl UnwindSafe for Adapter
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