nomad_client/models/
node_drain_update_response.rs1#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct NodeDrainUpdateResponse {
16 #[serde(rename = "NodeModifyIndex", skip_serializing_if = "Option::is_none")]
17 pub node_modify_index: Option<i32>,
18 #[serde(rename = "EvalIDs", skip_serializing_if = "Option::is_none")]
19 pub eval_ids: Option<Vec<String>>,
20 #[serde(rename = "EvalCreateIndex", skip_serializing_if = "Option::is_none")]
21 pub eval_create_index: Option<i32>,
22}
23
24impl NodeDrainUpdateResponse {
25 pub fn new() -> NodeDrainUpdateResponse {
26 NodeDrainUpdateResponse {
27 node_modify_index: None,
28 eval_ids: None,
29 eval_create_index: None,
30 }
31 }
32}
33
34