pub struct ContainerStatsSnapshot {Show 14 fields
pub host: HostId,
pub topology_revision: TopologyRevision,
pub container: String,
pub read_at: Option<String>,
pub pids_current: u64,
pub memory_usage_bytes: u64,
pub memory_limit_bytes: u64,
pub cpu_total_usage: u64,
pub system_cpu_usage: u64,
pub online_cpus: u64,
pub network_rx_bytes: u64,
pub network_tx_bytes: u64,
pub block_read_bytes: u64,
pub block_write_bytes: u64,
}Expand description
Neutral one-shot Docker container statistics.
Fields§
§host: HostIdTarget host.
topology_revision: TopologyRevisionExact topology revision.
container: StringContainer identifier.
read_at: Option<String>Daemon read timestamp.
pids_current: u64Current process count.
memory_usage_bytes: u64Current memory usage.
memory_limit_bytes: u64Memory limit.
cpu_total_usage: u64Total container CPU usage.
system_cpu_usage: u64Host system CPU usage.
online_cpus: u64Online CPU count.
network_rx_bytes: u64Aggregate received network bytes.
network_tx_bytes: u64Aggregate transmitted network bytes.
block_read_bytes: u64Aggregate block-device read bytes.
block_write_bytes: u64Aggregate block-device write bytes.
Trait Implementations§
Source§impl Clone for ContainerStatsSnapshot
impl Clone for ContainerStatsSnapshot
Source§fn clone(&self) -> ContainerStatsSnapshot
fn clone(&self) -> ContainerStatsSnapshot
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 ContainerStatsSnapshot
impl Debug for ContainerStatsSnapshot
Source§impl<'de> Deserialize<'de> for ContainerStatsSnapshot
impl<'de> Deserialize<'de> for ContainerStatsSnapshot
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 ContainerStatsSnapshot
impl PartialEq for ContainerStatsSnapshot
Source§fn eq(&self, other: &ContainerStatsSnapshot) -> bool
fn eq(&self, other: &ContainerStatsSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContainerStatsSnapshot
impl Serialize for ContainerStatsSnapshot
impl Eq for ContainerStatsSnapshot
impl StructuralPartialEq for ContainerStatsSnapshot
Auto Trait Implementations§
impl Freeze for ContainerStatsSnapshot
impl RefUnwindSafe for ContainerStatsSnapshot
impl Send for ContainerStatsSnapshot
impl Sync for ContainerStatsSnapshot
impl Unpin for ContainerStatsSnapshot
impl UnsafeUnpin for ContainerStatsSnapshot
impl UnwindSafe for ContainerStatsSnapshot
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.