nomad_client/models/
agent_health_response.rs1#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct AgentHealthResponse {
16 #[serde(rename = "Client", skip_serializing_if = "Option::is_none")]
17 pub client: Option<Box<crate::models::AgentHealth>>,
18 #[serde(rename = "Server", skip_serializing_if = "Option::is_none")]
19 pub server: Option<Box<crate::models::AgentHealth>>,
20}
21
22impl AgentHealthResponse {
23 pub fn new() -> AgentHealthResponse {
24 AgentHealthResponse {
25 client: None,
26 server: None,
27 }
28 }
29}
30
31