[][src]Struct heroku_rs::endpoints::oauth::post::Grant

pub struct Grant {
    pub code: String,
    pub type_field: String,
}

Grant

Fields

code: String

grant code received from OAuth web application authorization

type_field: String

type of grant requested, one of authorization_code or refresh_token

Trait Implementations

impl Clone for Grant[src]

impl Debug for Grant[src]

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

impl Eq for Grant[src]

impl PartialEq<Grant> for Grant[src]

impl Serialize for Grant[src]

impl StructuralEq for Grant[src]

impl StructuralPartialEq for Grant[src]

Auto Trait Implementations

impl RefUnwindSafe for Grant

impl Send for Grant

impl Sync for Grant

impl Unpin for Grant

impl UnwindSafe for Grant

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

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.