Struct podman_api_stubs::models::CpuUsage
source · [−]pub struct CpuUsage {
pub idle_percent: Option<f64>,
pub system_percent: Option<f64>,
pub user_percent: Option<f64>,
}
Fields
idle_percent: Option<f64>
system_percent: Option<f64>
user_percent: Option<f64>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for CpuUsage
impl<'de> Deserialize<'de> for CpuUsage
sourcefn 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
sourceimpl PartialEq<CpuUsage> for CpuUsage
impl PartialEq<CpuUsage> for CpuUsage
impl StructuralPartialEq for CpuUsage
Auto Trait Implementations
impl RefUnwindSafe for CpuUsage
impl Send for CpuUsage
impl Sync for CpuUsage
impl Unpin for CpuUsage
impl UnwindSafe for CpuUsage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more