pub struct VaultConfig {
pub vault_type: VaultType,
pub base_url: Option<String>,
pub environment: Option<String>,
pub project_id: Option<String>,
pub timeout_seconds: u64,
pub retry_attempts: u32,
pub cache_ttl_seconds: u64,
}
Expand description
Vault configuration
Fields§
§vault_type: VaultType
§base_url: Option<String>
§environment: Option<String>
§project_id: Option<String>
§timeout_seconds: u64
§retry_attempts: u32
§cache_ttl_seconds: u64
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
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