pub struct Attachment {
pub node: Option<String>,
pub kind: Option<String>,
pub interface: Option<String>,
pub band: Option<String>,
pub rate_down: Option<u64>,
pub rate_up: Option<u64>,
}Expand description
How a host is connected to a node of the mesh.
Fields§
§node: Option<String>The name of the node.
kind: Option<String>Like LAN or WLAN.
interface: Option<String>The interface the mesh list names for the link, like AP:5G:0.
band: Option<String>The band of a wireless link, like 5 GHz.
rate_down: Option<u64>The current rates towards the host and back, in kbit/s.
rate_up: Option<u64>Trait Implementations§
Source§impl Clone for Attachment
impl Clone for Attachment
Source§impl Debug for Attachment
impl Debug for Attachment
Source§impl Default for Attachment
impl Default for Attachment
impl Eq for Attachment
Source§impl PartialEq for Attachment
impl PartialEq for Attachment
Source§impl Serialize for Attachment
impl Serialize for Attachment
impl StructuralPartialEq for Attachment
Auto Trait Implementations§
impl Forget for Attachment
impl Freeze for Attachment
impl Move for Attachment
impl RefUnwindSafe for Attachment
impl Send for Attachment
impl Sync for Attachment
impl Unpin for Attachment
impl UnsafeUnpin for Attachment
impl UnwindSafe for Attachment
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