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 Debug for Bearer

[]

Formats the value using the given formatter.

impl PartialEq<Bearer> for Bearer

[]

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

[]

This method tests for !=.

impl Clone for Bearer

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Scheme for Bearer

[]

An optional Scheme name. Read more

[]

Format the Scheme data into a header value.

impl FromStr for Bearer