Struct yup_oauth2::Scheme [] [src]

pub struct Scheme {
    pub token_type: TokenType,
    pub access_token: String,
}

A scheme for use in hyper::header::Authorization

Fields

The type of our access token

The token returned by one of the Authorization Flows

Trait Implementations

impl Debug for Scheme
[src]

Formats the value using the given formatter.

impl PartialEq for Scheme
[src]

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

This method tests for !=.

impl Clone for Scheme
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Scheme for Scheme
[src]

An optional Scheme name. Read more

Format the Scheme data into a header value.

impl FromStr for Scheme
[src]

The associated error which can be returned from parsing.

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