nomad_client_rs/models/
node_device.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct NodeDevice {
5 #[serde(rename = "HealthDescription", skip_serializing_if = "Option::is_none")]
6 pub health_description: Option<String>,
7 #[serde(rename = "Healthy", skip_serializing_if = "Option::is_none")]
8 pub healthy: Option<bool>,
9 #[serde(rename = "ID", skip_serializing_if = "Option::is_none")]
10 pub id: Option<String>,
11 #[serde(rename = "Locality", skip_serializing_if = "Option::is_none")]
12 pub locality: Option<crate::models::NodeDeviceLocality>,
13}