Struct tweetust::conn::oauth_authenticator::OAuthAuthenticator
[−]
[src]
pub struct OAuthAuthenticator<'a> { pub consumer_key: Cow<'a, str>, pub consumer_secret: Cow<'a, str>, pub access_token: Cow<'a, str>, pub access_token_secret: Cow<'a, str>, }
OAuth 1.0 wrapper
Fields
consumer_key: Cow<'a, str>
consumer_secret: Cow<'a, str>
access_token: Cow<'a, str>
access_token_secret: Cow<'a, str>
Methods
impl<'a> OAuthAuthenticator<'a>
[src]
fn new<CK, CS, T, TS>(consumer_key: CK,
consumer_secret: CS,
access_token: T,
access_token_secret: TS)
-> OAuthAuthenticator<'a> where CK: Into<Cow<'a, str>>, CS: Into<Cow<'a, str>>, T: Into<Cow<'a, str>>, TS: Into<Cow<'a, str>>
consumer_secret: CS,
access_token: T,
access_token_secret: TS)
-> OAuthAuthenticator<'a> where CK: Into<Cow<'a, str>>, CS: Into<Cow<'a, str>>, T: Into<Cow<'a, str>>, TS: Into<Cow<'a, str>>
Trait Implementations
impl<'a> Clone for OAuthAuthenticator<'a>
[src]
fn clone(&self) -> OAuthAuthenticator<'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