nomad_client_rs/models/
field_diff.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct FieldDiff {
5    #[serde(rename = "Annotations", skip_serializing_if = "Option::is_none")]
6    pub annotations: Option<Vec<String>>,
7    #[serde(rename = "Name", skip_serializing_if = "Option::is_none")]
8    pub name: Option<String>,
9    #[serde(rename = "New", skip_serializing_if = "Option::is_none")]
10    pub new: Option<String>,
11    #[serde(rename = "Old", skip_serializing_if = "Option::is_none")]
12    pub old: Option<String>,
13    #[serde(rename = "Type", skip_serializing_if = "Option::is_none")]
14    pub _type: Option<String>,
15}