pub struct ClientBuilder { /* private fields */ }
Implementations§
Source§impl ClientBuilder
impl ClientBuilder
Sourcepub fn with_secure_value(
self,
key: impl Into<String>,
value: SecureValue,
) -> Self
pub fn with_secure_value( self, key: impl Into<String>, value: SecureValue, ) -> Self
Add a secure value.
The key is the name you will use later to retrieve the value.
The value
may be either SecureValue::Static
(in which case the stored
value is returned) or SecureValue::Env
(in which case the stored value
is interpreted as an environment variable name and the environment variable’s
value is returned).
Auto Trait Implementations§
impl Freeze for ClientBuilder
impl RefUnwindSafe for ClientBuilder
impl Send for ClientBuilder
impl Sync for ClientBuilder
impl Unpin for ClientBuilder
impl UnwindSafe for ClientBuilder
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