[][src]Struct heroku_rs::endpoints::formations::patch::FormationUpdate

pub struct FormationUpdate {
    pub app_id: String,
    pub formation_id: String,
    pub params: FormationUpdateParams,
}

Fields

app_id: String

app_id can be the app name or the app id

formation_id: String

formation_id can be the formation id or type

params: FormationUpdateParams

params are the parameters sent to the API to patch the Formation

Methods

impl FormationUpdate[src]

pub fn new(
    app_id: String,
    formation_id: String,
    quantity: Option<i32>,
    size: Option<String>
) -> FormationUpdate
[src]

Trait Implementations

impl HerokuEndpoint<Formation, (), FormationUpdateParams> for FormationUpdate[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.