[][src]Struct heroku_rs::endpoints::dynos::post::DynoCreate

pub struct DynoCreate {
    pub app_id: String,
    pub params: DynoCreateParams,
}

Dyno Create

Create a new dyno associated with an application

See Heroku documentation for more information about this endpoint

Fields

app_id: String

app_id can be the app name or the app id

params: DynoCreateParams

The parameters to pass to the Heroku API

Methods

impl DynoCreate[src]

pub fn new(
    app_id: String,
    command: String,
    attach: Option<bool>,
    env: Option<HashMap<String, String>>,
    force_no_tty: Option<bool>,
    size: Option<String>,
    time_to_live: Option<i32>,
    process_type: Option<String>
) -> DynoCreate
[src]

pub fn create(app_id: String, command: String) -> DynoCreate[src]

Trait Implementations

impl HerokuEndpoint<Dyno, (), DynoCreateParams> for DynoCreate[src]

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