pub struct Vault {
pub policies: Vec<String>,
pub namespace: Option<String>,
pub disable_file: Option<bool>,
pub change_mode: Option<String>,
pub role: String,
pub cluster: String,
pub env: Option<bool>,
pub change_signal: Option<String>,
pub allow_token_expiration: Option<bool>,
}
Expand description
This struct was generated based on the Go types of the official Nomad API.
Fields§
§policies: Vec<String>
§namespace: Option<String>
§disable_file: Option<bool>
§change_mode: Option<String>
§role: String
§cluster: String
§env: Option<bool>
§change_signal: Option<String>
§allow_token_expiration: Option<bool>
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