nomad_client_rs/models/
variable_metadata.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct VariableMetadata {
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 = "ModifyIndex", skip_serializing_if = "Option::is_none")]
10    pub modify_index: Option<i32>,
11    #[serde(rename = "ModifyTime", skip_serializing_if = "Option::is_none")]
12    pub modify_time: Option<i64>,
13    #[serde(rename = "Namespace", skip_serializing_if = "Option::is_none")]
14    pub namespace: Option<String>,
15    #[serde(rename = "Path", skip_serializing_if = "Option::is_none")]
16    pub path: Option<String>,
17}