pub struct Config {
pub vault_url: String,
pub renew_policy: RenewPolicy,
}Expand description
The Configuration for the vault client
Fields§
§vault_url: StringThe URL the client should use to connect to the vault instance
renew_policy: RenewPolicyThe Policy the client should use to handle sessions expiring
Default: RenewPolicy::Reauth
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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