nomad_client_rs/models/
vault.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct Vault {
5    #[serde(rename = "ChangeMode", skip_serializing_if = "Option::is_none")]
6    pub change_mode: Option<String>,
7    #[serde(rename = "ChangeSignal", skip_serializing_if = "Option::is_none")]
8    pub change_signal: Option<String>,
9    #[serde(rename = "Env", skip_serializing_if = "Option::is_none")]
10    pub env: Option<bool>,
11    #[serde(rename = "Namespace", skip_serializing_if = "Option::is_none")]
12    pub namespace: Option<String>,
13    #[serde(rename = "Policies", skip_serializing_if = "Option::is_none")]
14    pub policies: Option<Vec<String>>,
15}