[−][src]Struct heroku_rs::endpoints::oauth::post::OAuthCreateParams
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]
fn clone(&self) -> OAuthCreateParams
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OAuthCreateParams
[src]
impl HerokuEndpoint<OAuth, (), OAuthCreateParams> for OAuthCreate
[src]
fn method(&self) -> Method
[src]
fn path(&self) -> String
[src]
fn body(&self) -> Option<OAuthCreateParams>
[src]
fn query(&self) -> Option<QueryType>
[src]
fn url(&self, environment: &ApiEnvironment) -> Url
[src]
fn content_type(&self) -> &str
[src]
fn version(&self) -> &str
[src]
fn agent(&self) -> &str
[src]
impl Serialize for OAuthCreateParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for OAuthCreateParams
impl Send for OAuthCreateParams
impl Sync for OAuthCreateParams
impl Unpin for OAuthCreateParams
impl UnwindSafe for OAuthCreateParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,