pub struct NetDevLine {Show 17 fields
pub name: String,
pub rx_bytes: u64,
pub rx_packets: u64,
pub rx_errors: u64,
pub rx_dropped: u64,
pub rx_fifo: u64,
pub rx_frame: u64,
pub rx_compressed: u64,
pub rx_multicast: u64,
pub tx_bytes: u64,
pub tx_packets: u64,
pub tx_errors: u64,
pub tx_dropped: u64,
pub tx_fifo: u64,
pub tx_collisions: u64,
pub tx_carrier: u64,
pub tx_compressed: u64,
}Fields§
§name: String§rx_bytes: u64§rx_packets: u64§rx_errors: u64§rx_dropped: u64§rx_fifo: u64§rx_frame: u64§rx_compressed: u64§rx_multicast: u64§tx_bytes: u64§tx_packets: u64§tx_errors: u64§tx_dropped: u64§tx_fifo: u64§tx_collisions: u64§tx_carrier: u64§tx_compressed: u64Trait Implementations§
Source§impl Clone for NetDevLine
impl Clone for NetDevLine
Source§fn clone(&self) -> NetDevLine
fn clone(&self) -> NetDevLine
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 NetDevLine
impl Debug for NetDevLine
Source§impl Default for NetDevLine
impl Default for NetDevLine
Source§fn default() -> NetDevLine
fn default() -> NetDevLine
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetDevLine
impl<'de> Deserialize<'de> for NetDevLine
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 NetDevLine
impl RefUnwindSafe for NetDevLine
impl Send for NetDevLine
impl Sync for NetDevLine
impl Unpin for NetDevLine
impl UnsafeUnpin for NetDevLine
impl UnwindSafe for NetDevLine
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