pub struct CPUStats {
pub cpu_usage: CPUUsage,
pub system_cpu_usage: Option<u64>,
pub online_cpus: Option<u64>,
pub throttling_data: ThrottlingData,
}
Expand description
General CPU statistics for the container.
Fields§
§cpu_usage: CPUUsage
§system_cpu_usage: Option<u64>
§online_cpus: Option<u64>
§throttling_data: ThrottlingData
Trait Implementations§
source§impl<'de> Deserialize<'de> for CPUStats
impl<'de> Deserialize<'de> for CPUStats
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 CPUStats
Auto Trait Implementations§
impl Freeze for CPUStats
impl RefUnwindSafe for CPUStats
impl Send for CPUStats
impl Sync for CPUStats
impl Unpin for CPUStats
impl UnwindSafe for CPUStats
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
)