pub struct Stats {
pub block_io: StatsIO,
pub cpu_perc: StatsPercentage,
pub container: String,
pub id: String,
pub mem_perc: StatsPercentage,
pub mem_usage: StatsUsage,
pub name: String,
pub net_io: StatsIO,
pub pids: String,
}
Fields§
§block_io: StatsIO
§cpu_perc: StatsPercentage
§container: String
§id: String
§mem_perc: StatsPercentage
§mem_usage: StatsUsage
§name: String
§net_io: StatsIO
§pids: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stats
impl<'de> Deserialize<'de> for Stats
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 Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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