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

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.

The username to provide, possibly empty. Should only be set if response is ProvideCredentials.

The password to provide, possibly empty. Should only be set if response is ProvideCredentials.

Trait Implementations

impl<'a> Clone for AuthChallengeResponse<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for AuthChallengeResponse<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for AuthChallengeResponse<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.