pub struct VaultConfig {
pub version: String,
pub deployment_mode: VaultDeploymentMode,
pub standalone: Option<VaultStandaloneConfig>,
pub in_cluster: Option<VaultInClusterConfig>,
}Expand description
Vault configuration
Fields§
§version: StringVault version
deployment_mode: VaultDeploymentModeDeployment mode
standalone: Option<VaultStandaloneConfig>Configuration for standalone mode
in_cluster: Option<VaultInClusterConfig>Configuration for in-cluster mode
Trait Implementations§
Source§impl Clone for VaultConfig
impl Clone for VaultConfig
Source§fn clone(&self) -> VaultConfig
fn clone(&self) -> VaultConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VaultConfig
impl Debug for VaultConfig
Source§impl<'de> Deserialize<'de> for VaultConfig
impl<'de> Deserialize<'de> for VaultConfig
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
Source§impl Serialize for VaultConfig
impl Serialize for VaultConfig
Source§impl Validate for VaultConfig
impl Validate for VaultConfig
Source§impl<'v_a> ValidateArgs<'v_a> for VaultConfig
impl<'v_a> ValidateArgs<'v_a> for VaultConfig
Auto Trait Implementations§
impl Freeze for VaultConfig
impl RefUnwindSafe for VaultConfig
impl Send for VaultConfig
impl Sync for VaultConfig
impl Unpin for VaultConfig
impl UnwindSafe for VaultConfig
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