pub struct AuthChallenge {
pub source: AuthChallengeSource,
pub origin: String,
pub scheme: String,
pub realm: String,
}Expand description
Authorization challenge for HTTP status code 401 or 407.
Fields§
§source: AuthChallengeSourceSource of the authentication challenge.
origin: StringOrigin of the challenger.
scheme: StringThe authentication scheme used, such as basic or digest.
realm: StringThe realm of the challenge. May be empty.
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<'de> Deserialize<'de> for AuthChallenge
impl<'de> Deserialize<'de> for AuthChallenge
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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