nomad_client_rs/models/
operator_health_reply.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct OperatorHealthReply {
5 #[serde(rename = "FailureTolerance", skip_serializing_if = "Option::is_none")]
6 pub failure_tolerance: Option<i32>,
7 #[serde(rename = "Healthy", skip_serializing_if = "Option::is_none")]
8 pub healthy: Option<bool>,
9 #[serde(rename = "Servers", skip_serializing_if = "Option::is_none")]
10 pub servers: Option<Vec<crate::models::ServerHealth>>,
11}