pub struct AuthChallenge { /* private fields */ }Expand description
Authentication challenge.
Implementations§
Source§impl AuthChallenge
impl AuthChallenge
Sourcepub fn parse(header: &HeaderFieldValue) -> Result<Vec<Self>, Error>
pub fn parse(header: &HeaderFieldValue) -> Result<Vec<Self>, Error>
Parse authentication challenges from a given header value.
Sourcepub fn params(&self) -> &[ChallengeParam]
pub fn params(&self) -> &[ChallengeParam]
Get the challenge parameters.
Trait Implementations§
Source§impl Clone for AuthChallenge
impl Clone for AuthChallenge
Source§fn clone(&self) -> AuthChallenge
fn clone(&self) -> AuthChallenge
Returns a duplicate 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 moreSource§impl Debug for AuthChallenge
impl Debug for AuthChallenge
Source§impl TryFrom<&AuthChallenge> for DigestChallenge
impl TryFrom<&AuthChallenge> for DigestChallenge
Auto Trait Implementations§
impl Freeze for AuthChallenge
impl RefUnwindSafe for AuthChallenge
impl Send for AuthChallenge
impl Sync for AuthChallenge
impl Unpin for AuthChallenge
impl UnwindSafe for AuthChallenge
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