pub struct DigestAuthenticationSchemeDefinitionBuilder { /* private fields */ }Expand description
Represents the service used to build DigestAuthenticationSchemeDefinitions
Implementations§
Source§impl DigestAuthenticationSchemeDefinitionBuilder
impl DigestAuthenticationSchemeDefinitionBuilder
Sourcepub fn use_secret(&mut self, secret: &str) -> &mut Self
pub fn use_secret(&mut self, secret: &str) -> &mut Self
Configures the authentication scheme to load from the specified secret
Sourcepub fn with_username(&mut self, username: &str) -> &mut Self
pub fn with_username(&mut self, username: &str) -> &mut Self
Sets the username to use
Sourcepub fn with_password(&mut self, password: &str) -> &mut Self
pub fn with_password(&mut self, password: &str) -> &mut Self
Sets the password to use
Sourcepub fn build(self) -> AuthenticationPolicyDefinition
pub fn build(self) -> AuthenticationPolicyDefinition
Builds the configured AuthenticationPolicyDefinition
Trait Implementations§
Source§impl Default for DigestAuthenticationSchemeDefinitionBuilder
impl Default for DigestAuthenticationSchemeDefinitionBuilder
Source§fn default() -> DigestAuthenticationSchemeDefinitionBuilder
fn default() -> DigestAuthenticationSchemeDefinitionBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DigestAuthenticationSchemeDefinitionBuilder
impl RefUnwindSafe for DigestAuthenticationSchemeDefinitionBuilder
impl Send for DigestAuthenticationSchemeDefinitionBuilder
impl Sync for DigestAuthenticationSchemeDefinitionBuilder
impl Unpin for DigestAuthenticationSchemeDefinitionBuilder
impl UnsafeUnpin for DigestAuthenticationSchemeDefinitionBuilder
impl UnwindSafe for DigestAuthenticationSchemeDefinitionBuilder
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