[][src]Enum oauth_1a::AuthorizationType

pub enum AuthorizationType {
    RequestToken {
        callback: String,
    },
    AccessToken {
        verifier: String,
    },
    Request,
}

The type of endpoint to generate an Authorization header for.

Variants

RequestToken

A request to the request token endpoint.

Fields of RequestToken

callback: String

The callback URL to be redirected to.

AccessToken

A request to the access token endpoint.

Fields of AccessToken

verifier: String

The oauth_verifier received from authorization.

Request

A standard request made after authentication.

Trait Implementations

impl Clone for AuthorizationType[src]

impl Debug for AuthorizationType[src]

impl<'de> Deserialize<'de> for AuthorizationType[src]

impl Eq for AuthorizationType[src]

impl Hash for AuthorizationType[src]

impl Ord for AuthorizationType[src]

impl PartialEq<AuthorizationType> for AuthorizationType[src]

impl PartialOrd<AuthorizationType> for AuthorizationType[src]

impl Serialize for AuthorizationType[src]

impl StructuralEq for AuthorizationType[src]

impl StructuralPartialEq for AuthorizationType[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,