Struct headers_ext::Bearer[][src]

pub struct Bearer(_);

Token holder for Bearer Authentication, most often seen with oauth

Methods

impl Bearer
[src]

View the token part as a &str.

Trait Implementations

impl Clone for Bearer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Bearer
[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 Bearer
[src]

Formats the value using the given formatter. Read more

impl Credentials for Bearer
[src]

SCHEME: &'static str = "Bearer"

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 Bearer

impl Sync for Bearer