pub struct NetSummary {
pub name: String,
pub net_type: String,
}Expand description
One net summary inside BoxStatus.
Fields§
§name: StringNet name.
net_type: StringNet type name (e.g. "PowerSupply", "GPIO").
Trait Implementations§
Source§impl Clone for NetSummary
impl Clone for NetSummary
Source§fn clone(&self) -> NetSummary
fn clone(&self) -> NetSummary
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 NetSummary
impl Debug for NetSummary
Source§impl<'de> Deserialize<'de> for NetSummary
impl<'de> Deserialize<'de> for NetSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NetSummary
impl RefUnwindSafe for NetSummary
impl Send for NetSummary
impl Sync for NetSummary
impl Unpin for NetSummary
impl UnsafeUnpin for NetSummary
impl UnwindSafe for NetSummary
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