Struct reqwest::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 Debug for Bearer

Formats the value using the given formatter.

impl PartialEq<Bearer> for Bearer

impl Clone for Bearer

impl FromStr for Bearer

impl Scheme for Bearer

An optional Scheme name. Read more

Format the Scheme data into a header value.