Struct systemstat::data::NetworkStats
source · pub struct NetworkStats {
pub rx_bytes: ByteSize,
pub tx_bytes: ByteSize,
pub rx_packets: u64,
pub tx_packets: u64,
pub rx_errors: u64,
pub tx_errors: u64,
}
Fields§
§rx_bytes: ByteSize
§tx_bytes: ByteSize
§rx_packets: u64
§tx_packets: u64
§rx_errors: u64
§tx_errors: u64
Trait Implementations§
source§impl Clone for NetworkStats
impl Clone for NetworkStats
source§fn clone(&self) -> NetworkStats
fn clone(&self) -> NetworkStats
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more