pub struct ContainerNetworkStats {
pub rx_bytes: Option<i32>,
pub rx_dropped: Option<i32>,
pub rx_errors: Option<i32>,
pub rx_packets: Option<i32>,
pub tx_bytes: Option<i32>,
pub tx_dropped: Option<i32>,
pub tx_errors: Option<i32>,
pub tx_packets: Option<i32>,
}
Expand description
ContainerNetworkStats : Statistics for an individual container network interface
Fields§
§rx_bytes: Option<i32>
§rx_dropped: Option<i32>
§rx_errors: Option<i32>
§rx_packets: Option<i32>
§tx_bytes: Option<i32>
§tx_dropped: Option<i32>
§tx_errors: Option<i32>
§tx_packets: Option<i32>
Implementations§
Source§impl ContainerNetworkStats
impl ContainerNetworkStats
Sourcepub fn new() -> ContainerNetworkStats
pub fn new() -> ContainerNetworkStats
Statistics for an individual container network interface
Trait Implementations§
Source§impl Clone for ContainerNetworkStats
impl Clone for ContainerNetworkStats
Source§fn clone(&self) -> ContainerNetworkStats
fn clone(&self) -> ContainerNetworkStats
Returns a duplicate 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 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
Source§impl PartialEq for ContainerNetworkStats
impl PartialEq for ContainerNetworkStats
Source§impl Serialize for ContainerNetworkStats
impl Serialize for ContainerNetworkStats
impl StructuralPartialEq for ContainerNetworkStats
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