nomad_client_rs/models/
job_diff.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct JobDiff {
5    #[serde(rename = "Fields", skip_serializing_if = "Option::is_none")]
6    pub fields: Option<Vec<crate::models::FieldDiff>>,
7    #[serde(rename = "ID", skip_serializing_if = "Option::is_none")]
8    pub id: Option<String>,
9    #[serde(rename = "Objects", skip_serializing_if = "Option::is_none")]
10    pub objects: Option<Vec<crate::models::ObjectDiff>>,
11    #[serde(rename = "TaskGroups", skip_serializing_if = "Option::is_none")]
12    pub task_groups: Option<Vec<crate::models::TaskGroupDiff>>,
13    #[serde(rename = "Type", skip_serializing_if = "Option::is_none")]
14    pub _type: Option<String>,
15}