Struct nomad_client_rs::models::cpu_stats::CpuStats
source · 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>>
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