pub struct VaultBuilder { /* private fields */ }
Expand description
Builder for Vault
.
Implementations§
Source§impl VaultBuilder
impl VaultBuilder
pub fn role(&mut self, value: String) -> &mut Self
pub fn change_mode(&mut self, value: Option<String>) -> &mut Self
pub fn change_signal(&mut self, value: Option<String>) -> &mut Self
pub fn allow_token_expiration(&mut self, value: Option<bool>) -> &mut Self
pub fn disable_file(&mut self, value: Option<bool>) -> &mut Self
pub fn policies(&mut self, value: Vec<String>) -> &mut Self
pub fn namespace(&mut self, value: Option<String>) -> &mut Self
pub fn cluster(&mut self, value: String) -> &mut Self
pub fn env(&mut self, value: Option<bool>) -> &mut Self
Trait Implementations§
Source§impl Clone for VaultBuilder
impl Clone for VaultBuilder
Source§fn clone(&self) -> VaultBuilder
fn clone(&self) -> VaultBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for VaultBuilder
impl RefUnwindSafe for VaultBuilder
impl Send for VaultBuilder
impl Sync for VaultBuilder
impl Unpin for VaultBuilder
impl UnwindSafe for VaultBuilder
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