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

pub struct OAuthCreateParams {
    pub scope: Vec<String>,
    pub client: Option<String>,
    pub description: Option<String>,
    pub expires_in: Option<u32>,
}

Create a new authorization with parameters.

See Heroku documentation for more information about this endpoint

Fields

scope: Vec<String>

The scope of access OAuth authorization allows

client: Option<String>

unique identifier of this OAuth client

description: Option<String>

human-friendly description of this OAuth authorization

expires_in: Option<u32>

seconds until OAuth token expires; may be null for tokens with indefinite lifetime [Nullable]

Trait Implementations

impl Clone for OAuthCreateParams[src]

impl Debug for OAuthCreateParams[src]

impl HerokuEndpoint<OAuth, (), OAuthCreateParams> for OAuthCreate[src]

impl Serialize for OAuthCreateParams[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> 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.