Struct oauth_client::Token [] [src]

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

Fields

key: Cow<'a, str> secret: Cow<'a, str>

Methods

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

fn new<K, S>(key: K, secret: S) -> Token<'a> where K: Into<Cow<'a, str>>, S: Into<Cow<'a, str>>

Trait Implementations

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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

fn clone(&self) -> Token<'a>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more