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