pub struct ContainerStats {Show 17 fields
pub avg_cpu: f64,
pub block_input: u64,
pub block_output: u64,
pub container_id: String,
pub cpu: f64,
pub cpu_nano: u64,
pub cpu_system_nano: u64,
pub duration: u64,
pub mem_limit: u64,
pub mem_perc: f64,
pub mem_usage: u64,
pub name: String,
pub network: HashMap<String, ContainerStatsNetwork>,
pub per_cpu: Vec<u64>,
pub pids: u64,
pub system_nano: u64,
pub up_time: u64,
}
Fields§
§avg_cpu: f64
§block_input: u64
§block_output: u64
§container_id: String
§cpu: f64
§cpu_nano: u64
§cpu_system_nano: u64
§duration: u64
§mem_limit: u64
§mem_perc: f64
§mem_usage: u64
§name: String
§network: HashMap<String, ContainerStatsNetwork>
§per_cpu: Vec<u64>
§pids: u64
§system_nano: u64
§up_time: u64
Trait Implementations§
Source§impl Debug for ContainerStats
impl Debug for ContainerStats
Source§impl<'de> Deserialize<'de> for ContainerStats
impl<'de> Deserialize<'de> for ContainerStats
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 ContainerStats
impl RefUnwindSafe for ContainerStats
impl Send for ContainerStats
impl Sync for ContainerStats
impl Unpin for ContainerStats
impl UnwindSafe for ContainerStats
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