Struct hyper::header::Bearer[][src]

pub struct Bearer {
    pub token: String,
}

Token holder for Bearer Authentication, most often seen with oauth

Fields

Actual bearer token as a string

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

An optional Scheme name. Read more

Format the Scheme data into a header value.

impl FromStr for Bearer
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for Bearer

impl Sync for Bearer