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

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

/// DriverInfo is used to deserialize a DriverInfo entry
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct DriverInfo {
    #[serde(rename = "Healthy")]
    pub healthy: bool,

    #[serde(rename = "HealthDescription")]
    pub health_description: String,

    #[serde(rename = "UpdateTime")]
    pub update_time: chrono::DateTime<chrono::Utc>,

    #[serde(rename = "Attributes")]
    pub attributes: std::collections::HashMap<String, String>,

    #[serde(rename = "Detected")]
    pub detected: bool,
}
