pub struct Vault {
pub role: String,
pub change_mode: Option<String>,
pub change_signal: Option<String>,
pub allow_token_expiration: Option<bool>,
pub disable_file: Option<bool>,
pub policies: Vec<String>,
pub namespace: Option<String>,
pub cluster: String,
pub env: Option<bool>,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§role: String
§change_mode: Option<String>
§change_signal: Option<String>
§allow_token_expiration: Option<bool>
§disable_file: Option<bool>
§policies: Vec<String>
§namespace: Option<String>
§cluster: String
§env: Option<bool>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Vault
impl<'de> Deserialize<'de> for Vault
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Vault
Auto Trait Implementations§
impl Freeze for Vault
impl RefUnwindSafe for Vault
impl Send for Vault
impl Sync for Vault
impl Unpin for Vault
impl UnwindSafe for Vault
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more