nomad_client_rs/models/
driver_info.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct DriverInfo {
5 #[serde(rename = "Attributes", skip_serializing_if = "Option::is_none")]
6 pub attributes: Option<::std::collections::HashMap<String, String>>,
7 #[serde(rename = "Detected", skip_serializing_if = "Option::is_none")]
8 pub detected: Option<bool>,
9 #[serde(rename = "HealthDescription", skip_serializing_if = "Option::is_none")]
10 pub health_description: Option<String>,
11 #[serde(rename = "Healthy", skip_serializing_if = "Option::is_none")]
12 pub healthy: Option<bool>,
13 #[serde(rename = "UpdateTime", skip_serializing_if = "Option::is_none")]
14 pub update_time: Option<String>,
15}