[][src]Enum fxa_client::http_client::OAauthTokenRequest

enum OAauthTokenRequest {
    UsingRefreshToken {
        client_id: String,
        refresh_token: String,
        scope: Option<String>,
        ttl: Option<u64>,
    },
    UsingCode {
        client_id: String,
        code: String,
        code_verifier: String,
        ttl: Option<u64>,
    },
}

Variants

UsingRefreshToken

Fields of UsingRefreshToken

client_id: Stringrefresh_token: Stringscope: Option<String>ttl: Option<u64>
UsingCode

Fields of UsingCode

client_id: Stringcode: Stringcode_verifier: Stringttl: Option<u64>

Trait Implementations

impl Serialize for OAauthTokenRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for OAauthTokenRequest

impl Send for OAauthTokenRequest

impl Sync for OAauthTokenRequest

impl Unpin for OAauthTokenRequest

impl UnwindSafe for OAauthTokenRequest

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> From<T> for T[src]

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