pub struct ContainerNetworkStats {
    pub rx_bytes: Option<u64>,
    pub rx_dropped: Option<u64>,
    pub rx_errors: Option<u64>,
    pub rx_packets: Option<u64>,
    pub tx_bytes: Option<u64>,
    pub tx_dropped: Option<u64>,
    pub tx_errors: Option<u64>,
    pub tx_packets: Option<u64>,
}Available on crate feature 
v5 only.Expand description
Statistics for an individual container network interface
Fields§
§rx_bytes: Option<u64>§rx_dropped: Option<u64>§rx_errors: Option<u64>§rx_packets: Option<u64>§tx_bytes: Option<u64>§tx_dropped: Option<u64>§tx_errors: Option<u64>§tx_packets: Option<u64>Trait Implementations§
Source§impl Debug for ContainerNetworkStats
 
impl Debug for ContainerNetworkStats
Source§impl Default for ContainerNetworkStats
 
impl Default for ContainerNetworkStats
Source§fn default() -> ContainerNetworkStats
 
fn default() -> ContainerNetworkStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerNetworkStats
 
impl<'de> Deserialize<'de> for ContainerNetworkStats
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 ContainerNetworkStats
impl RefUnwindSafe for ContainerNetworkStats
impl Send for ContainerNetworkStats
impl Sync for ContainerNetworkStats
impl Unpin for ContainerNetworkStats
impl UnwindSafe for ContainerNetworkStats
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