pub struct AuthChallengeResponseBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> AuthChallengeResponseBuilder<'a>
impl<'a> AuthChallengeResponseBuilder<'a>
Sourcepub fn username(self, username: impl Into<Cow<'a, str>>) -> Self
pub fn username(self, username: impl Into<Cow<'a, str>>) -> Self
The username to provide, possibly empty. Should only be set if response is ProvideCredentials.
Sourcepub fn password(self, password: impl Into<Cow<'a, str>>) -> Self
pub fn password(self, password: impl Into<Cow<'a, str>>) -> Self
The password to provide, possibly empty. Should only be set if response is ProvideCredentials.
pub fn build(self) -> AuthChallengeResponse<'a>
Auto Trait Implementations§
impl<'a> Freeze for AuthChallengeResponseBuilder<'a>
impl<'a> RefUnwindSafe for AuthChallengeResponseBuilder<'a>
impl<'a> Send for AuthChallengeResponseBuilder<'a>
impl<'a> Sync for AuthChallengeResponseBuilder<'a>
impl<'a> Unpin for AuthChallengeResponseBuilder<'a>
impl<'a> UnsafeUnpin for AuthChallengeResponseBuilder<'a>
impl<'a> UnwindSafe for AuthChallengeResponseBuilder<'a>
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