Struct bollard::container::NetworkStats
source · pub struct NetworkStats {
pub rx_dropped: u64,
pub rx_bytes: u64,
pub rx_errors: u64,
pub tx_packets: u64,
pub tx_dropped: u64,
pub rx_packets: u64,
pub tx_errors: u64,
pub tx_bytes: u64,
}
Expand description
Network statistics for the container.
Fields§
§rx_dropped: u64
§rx_bytes: u64
§rx_errors: u64
§tx_packets: u64
§tx_dropped: u64
§rx_packets: u64
§tx_errors: u64
§tx_bytes: 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 moresource§impl Debug for NetworkStats
impl Debug for NetworkStats
source§impl<'de> Deserialize<'de> for NetworkStats
impl<'de> Deserialize<'de> for NetworkStats
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
source§impl PartialEq for NetworkStats
impl PartialEq for NetworkStats
source§impl Serialize for NetworkStats
impl Serialize for NetworkStats
impl Copy for NetworkStats
impl StructuralPartialEq for NetworkStats
Auto Trait Implementations§
impl Freeze for NetworkStats
impl RefUnwindSafe for NetworkStats
impl Send for NetworkStats
impl Sync for NetworkStats
impl Unpin for NetworkStats
impl UnwindSafe for NetworkStats
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)