Struct cdp::network::AuthChallenge
[−]
[src]
pub struct AuthChallenge<'a> { pub source: Option<AuthChallengeSource>, pub origin: Cow<'a, str>, pub scheme: Cow<'a, str>, pub realm: Cow<'a, str>, }
[Experimental] Authorization challenge for HTTP status code 401 or 407.
Fields
source: Option<AuthChallengeSource>
Source of the authentication challenge.
origin: Cow<'a, str>
Origin of the challenger.
scheme: Cow<'a, str>
The authentication scheme used, such as basic or digest
realm: Cow<'a, str>
The realm of the challenge. May be empty.
Trait Implementations
impl<'a> Clone for AuthChallenge<'a>
[src]
fn clone(&self) -> AuthChallenge<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for AuthChallenge<'a>
[src]
impl<'a> PartialEq for AuthChallenge<'a>
[src]
fn eq(&self, __arg_0: &AuthChallenge<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AuthChallenge<'a>) -> bool
[src]
This method tests for !=
.