Struct cdp::network::AuthChallengeResponse
[−]
[src]
pub struct AuthChallengeResponse<'a> { pub response: AuthChallengeResponseResponse, pub username: Option<Cow<'a, str>>, pub password: Option<Cow<'a, str>>, }
[Experimental] Response to an AuthChallenge.
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<Cow<'a, str>>
The username to provide, possibly empty. Should only be set if response is ProvideCredentials.
password: Option<Cow<'a, str>>
The password to provide, possibly empty. Should only be set if response is ProvideCredentials.
Trait Implementations
impl<'a> Clone for AuthChallengeResponse<'a>
[src]
fn clone(&self) -> AuthChallengeResponse<'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 AuthChallengeResponse<'a>
[src]
impl<'a> PartialEq for AuthChallengeResponse<'a>
[src]
fn eq(&self, __arg_0: &AuthChallengeResponse<'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: &AuthChallengeResponse<'a>) -> bool
[src]
This method tests for !=
.