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

The associated error which can be returned from parsing.

[src]

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

impl Scheme for Bearer
[src]

[src]

An optional Scheme name. Read more

[src]

Format the Scheme data into a header value.

impl PartialEq<Bearer> for Bearer
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Bearer
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Bearer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more