Struct spider::features::chrome_common::AuthChallengeResponse
source · pub struct AuthChallengeResponse {
pub response: AuthChallengeResponseResponse,
pub username: Option<String>,
pub password: Option<String>,
}
Expand description
Response to an AuthChallenge. AuthChallengeResponse
Fields§
§response: AuthChallengeResponseResponse
The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.
username: Option<String>
The username to provide, possibly empty. Should only be set if response is ProvideCredentials.
password: Option<String>
The password to provide, possibly empty. Should only be set if response is ProvideCredentials.
Trait Implementations§
source§impl Clone for AuthChallengeResponse
impl Clone for AuthChallengeResponse
source§fn clone(&self) -> AuthChallengeResponse
fn clone(&self) -> AuthChallengeResponse
Returns a copy 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 AuthChallengeResponse
impl Debug for AuthChallengeResponse
source§impl Default for AuthChallengeResponse
impl Default for AuthChallengeResponse
source§fn default() -> AuthChallengeResponse
fn default() -> AuthChallengeResponse
Returns the “default value” for a type. Read more
source§impl PartialEq for AuthChallengeResponse
impl PartialEq for AuthChallengeResponse
source§fn eq(&self, other: &AuthChallengeResponse) -> bool
fn eq(&self, other: &AuthChallengeResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthChallengeResponse
Auto Trait Implementations§
impl Freeze for AuthChallengeResponse
impl RefUnwindSafe for AuthChallengeResponse
impl Send for AuthChallengeResponse
impl Sync for AuthChallengeResponse
impl Unpin for AuthChallengeResponse
impl UnwindSafe for AuthChallengeResponse
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