pub struct DigestChallenge { /* private fields */ }Expand description
Digest challenge.
Implementations§
Source§impl DigestChallenge
impl DigestChallenge
Sourcepub fn builder<T>(realm: T) -> DigestChallengeBuilder
pub fn builder<T>(realm: T) -> DigestChallengeBuilder
Get a Digest challenge builder for a given realm.
Sourcepub fn algorithm_param(&self) -> Option<&str>
pub fn algorithm_param(&self) -> Option<&str>
Get the algorithm parameter as sent in the challenge.
Sourcepub fn algorithm(&self) -> DigestAlgorithm
pub fn algorithm(&self) -> DigestAlgorithm
Get the actual digest algorithm.
Sourcepub fn qops(&self) -> &[QualityOfProtection]
pub fn qops(&self) -> &[QualityOfProtection]
Get the quality of protection values.
Sourcepub fn response_builder(&self) -> DigestResponseBuilder<'_>
pub fn response_builder(&self) -> DigestResponseBuilder<'_>
Get a Digest response builder for this challenge.
Trait Implementations§
Source§impl Clone for DigestChallenge
impl Clone for DigestChallenge
Source§fn clone(&self) -> DigestChallenge
fn clone(&self) -> DigestChallenge
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 Display for DigestChallenge
impl Display for DigestChallenge
Source§impl From<DigestChallenge> for HeaderFieldValue
impl From<DigestChallenge> for HeaderFieldValue
Source§fn from(challenge: DigestChallenge) -> Self
fn from(challenge: DigestChallenge) -> Self
Converts to this type from the input type.
Source§impl TryFrom<&AuthChallenge> for DigestChallenge
impl TryFrom<&AuthChallenge> for DigestChallenge
Auto Trait Implementations§
impl Freeze for DigestChallenge
impl RefUnwindSafe for DigestChallenge
impl Send for DigestChallenge
impl Sync for DigestChallenge
impl Unpin for DigestChallenge
impl UnwindSafe for DigestChallenge
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