nomad_client_rs/models/
evaluation_stub.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct EvaluationStub {
5 #[serde(rename = "BlockedEval", skip_serializing_if = "Option::is_none")]
6 pub blocked_eval: Option<String>,
7 #[serde(rename = "CreateIndex", skip_serializing_if = "Option::is_none")]
8 pub create_index: Option<i32>,
9 #[serde(rename = "CreateTime", skip_serializing_if = "Option::is_none")]
10 pub create_time: Option<i64>,
11 #[serde(rename = "DeploymentID", skip_serializing_if = "Option::is_none")]
12 pub deployment_id: Option<String>,
13 #[serde(rename = "ID", skip_serializing_if = "Option::is_none")]
14 pub id: Option<String>,
15 #[serde(rename = "JobID", skip_serializing_if = "Option::is_none")]
16 pub job_id: Option<String>,
17 #[serde(rename = "ModifyIndex", skip_serializing_if = "Option::is_none")]
18 pub modify_index: Option<i32>,
19 #[serde(rename = "ModifyTime", skip_serializing_if = "Option::is_none")]
20 pub modify_time: Option<i64>,
21 #[serde(rename = "Namespace", skip_serializing_if = "Option::is_none")]
22 pub namespace: Option<String>,
23 #[serde(rename = "NextEval", skip_serializing_if = "Option::is_none")]
24 pub next_eval: Option<String>,
25 #[serde(rename = "NodeID", skip_serializing_if = "Option::is_none")]
26 pub node_id: Option<String>,
27 #[serde(rename = "PreviousEval", skip_serializing_if = "Option::is_none")]
28 pub previous_eval: Option<String>,
29 #[serde(rename = "Priority", skip_serializing_if = "Option::is_none")]
30 pub priority: Option<i32>,
31 #[serde(rename = "Status", skip_serializing_if = "Option::is_none")]
32 pub status: Option<String>,
33 #[serde(rename = "StatusDescription", skip_serializing_if = "Option::is_none")]
34 pub status_description: Option<String>,
35 #[serde(rename = "TriggeredBy", skip_serializing_if = "Option::is_none")]
36 pub triggered_by: Option<String>,
37 #[serde(rename = "Type", skip_serializing_if = "Option::is_none")]
38 pub _type: Option<String>,
39 #[serde(rename = "WaitUntil", skip_serializing_if = "Option::is_none")]
40 pub wait_until: Option<String>,
41}