/*
 * This is an auto-generated file.
 * Any manual changes may be overwritten without notice!
 */

use derive_builder::Builder;
use serde::{Deserialize, Serialize};

/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct HostCpuStats {
    #[serde(rename = "Idle")]
    pub idle: f64,

    #[serde(rename = "CPU")]
    pub cpu: String,

    #[serde(rename = "User")]
    pub user: f64,

    #[serde(rename = "System")]
    pub system: f64,
}
