Struct nomad_client::models::cpu_stats::CpuStats[][src]

pub struct CpuStats {
    pub system_mode: Option<f64>,
    pub user_mode: Option<f64>,
    pub total_ticks: Option<f64>,
    pub throttled_periods: Option<i32>,
    pub throttled_time: Option<i32>,
    pub percent: Option<f64>,
    pub measured: Option<Vec<String>>,
}

Fields

system_mode: Option<f64>user_mode: Option<f64>total_ticks: Option<f64>throttled_periods: Option<i32>throttled_time: Option<i32>percent: Option<f64>measured: Option<Vec<String>>

Implementations

impl CpuStats[src]

pub fn new() -> CpuStats[src]

Trait Implementations

impl Clone for CpuStats[src]

impl Debug for CpuStats[src]

impl<'de> Deserialize<'de> for CpuStats[src]

impl PartialEq<CpuStats> for CpuStats[src]

impl Serialize for CpuStats[src]

impl StructuralPartialEq for CpuStats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.