Struct iron::headers::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 PartialEq<Bearer> 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 FromStr for Bearer
[src]

impl Scheme for Bearer
[src]

An optional Scheme name. Read more

Format the Scheme data into a header value.

impl Debug for Bearer
[src]

Formats the value using the given formatter.

impl Clone for Bearer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more