pub struct CPUUsage {
pub percpu_usage: Option<Vec<u64>>,
pub usage_in_usermode: u64,
pub total_usage: u64,
pub usage_in_kernelmode: u64,
}
Expand description
CPU usage statistics for the container.
Fields§
§percpu_usage: Option<Vec<u64>>
§usage_in_usermode: u64
§total_usage: u64
§usage_in_kernelmode: u64
Trait Implementations§
source§impl<'de> Deserialize<'de> for CPUUsage
impl<'de> Deserialize<'de> for CPUUsage
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
impl StructuralPartialEq for CPUUsage
Auto Trait Implementations§
impl Freeze for CPUUsage
impl RefUnwindSafe for CPUUsage
impl Send for CPUUsage
impl Sync for CPUUsage
impl Unpin for CPUUsage
impl UnwindSafe for CPUUsage
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)