pub struct DigestChallenge {
pub realm: String,
pub nonce: String,
pub opaque: Option<String>,
pub algorithm: DigestAlgorithm,
pub qop: Option<String>,
pub stale: bool,
}Expand description
Parsed challenge from WWW-Authenticate or Proxy-Authenticate header.
Fields§
§realm: String§nonce: String§opaque: Option<String>§algorithm: DigestAlgorithm§qop: Option<String>§stale: boolTrait 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 moreAuto Trait Implementations§
impl Freeze for DigestChallenge
impl RefUnwindSafe for DigestChallenge
impl Send for DigestChallenge
impl Sync for DigestChallenge
impl Unpin for DigestChallenge
impl UnsafeUnpin 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