Struct headers_ext::Basic[][src]

pub struct Basic { /* fields omitted */ }

Credential holder for Basic Authentication

Methods

impl Basic
[src]

View the decoded username.

View the decoded password.

Trait Implementations

impl Clone for Basic
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Basic
[src]

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

This method tests for !=.

impl Debug for Basic
[src]

Formats the value using the given formatter. Read more

impl Credentials for Basic
[src]

SCHEME: &'static str = "Basic"

The scheme identify the format of these credentials. Read more

Try to decode the credentials from the HeaderValue. Read more

Encode the credentials to a HeaderValue. Read more

Auto Trait Implementations

impl Send for Basic

impl Sync for Basic