pub struct Detail {
pub host: Host,
pub lease_remaining: Option<u64>,
pub attached_to: Option<Attachment>,
}Expand description
A host with all the device knows about it.
Fields§
§host: Host§lease_remaining: Option<u64>The seconds until the lease of the address ends. Left out if the device reports none.
attached_to: Option<Attachment>The mesh node the host is connected to, if the mesh list names one.
Trait Implementations§
impl Eq for Detail
impl StructuralPartialEq for Detail
Auto Trait Implementations§
impl Forget for Detail
impl Freeze for Detail
impl Move for Detail
impl RefUnwindSafe for Detail
impl Send for Detail
impl Sync for Detail
impl Unpin for Detail
impl UnsafeUnpin for Detail
impl UnwindSafe for Detail
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