nomad_client_rs/models/
task_group_diff.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct TaskGroupDiff {
5 #[serde(rename = "Fields", skip_serializing_if = "Option::is_none")]
6 pub fields: Option<Vec<crate::models::FieldDiff>>,
7 #[serde(rename = "Name", skip_serializing_if = "Option::is_none")]
8 pub name: Option<String>,
9 #[serde(rename = "Objects", skip_serializing_if = "Option::is_none")]
10 pub objects: Option<Vec<crate::models::ObjectDiff>>,
11 #[serde(rename = "Tasks", skip_serializing_if = "Option::is_none")]
12 pub tasks: Option<Vec<crate::models::TaskDiff>>,
13 #[serde(rename = "Type", skip_serializing_if = "Option::is_none")]
14 pub _type: Option<String>,
15 #[serde(rename = "Updates", skip_serializing_if = "Option::is_none")]
16 pub updates: Option<::std::collections::HashMap<String, i32>>,
17}