nomad_client_rs/models/
variable.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct Variable {
5    #[serde(rename = "CreateIndex", skip_serializing_if = "Option::is_none")]
6    pub create_index: Option<i32>,
7    #[serde(rename = "CreateTime", skip_serializing_if = "Option::is_none")]
8    pub create_time: Option<i64>,
9    #[serde(rename = "Items", skip_serializing_if = "Option::is_none")]
10    pub items: Option<::std::collections::HashMap<String, String>>,
11    #[serde(rename = "ModifyIndex", skip_serializing_if = "Option::is_none")]
12    pub modify_index: Option<i32>,
13    #[serde(rename = "ModifyTime", skip_serializing_if = "Option::is_none")]
14    pub modify_time: Option<i64>,
15    #[serde(rename = "Namespace", skip_serializing_if = "Option::is_none")]
16    pub namespace: Option<String>,
17    #[serde(rename = "Path", skip_serializing_if = "Option::is_none")]
18    pub path: Option<String>,
19}