[][src]Struct tweetust::conn::oauth_authenticator::OAuthAuthenticator

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]

pub 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>>, 
[src]

Trait Implementations

impl<'a> Authenticator for OAuthAuthenticator<'a>[src]

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

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

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

impl<'a> Send for OAuthAuthenticator<'a>

impl<'a> Sync for OAuthAuthenticator<'a>

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.