Struct oauth_client_fix::Token [] [src]

pub struct Token<'a> {
    pub key: Cow<'a, str>,
    pub secret: Cow<'a, str>,
}

Token structure for the OAuth

Fields

'key' field of the token

'secret' part of the token

Methods

impl<'a> Token<'a>
[src]

Create new token from key and secret

Examples

let consumer = oauth_client::Token::new("key", "secret");

Trait Implementations

impl<'a> Clone for Token<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for Token<'a>
[src]

Formats the value using the given formatter.