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 of the authentication challenge.

Origin of the challenger.

The authentication scheme used, such as basic or digest

The realm of the challenge. May be empty.

Trait Implementations

impl<'a> Clone for AuthChallenge<'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 AuthChallenge<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for AuthChallenge<'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 !=.