[][src]Struct heroku_rs::endpoints::config_vars::delete::AppConfigVarDelete

pub struct AppConfigVarDelete<'a> {
    pub app_id: &'a str,
    pub params: HashMap<String, Option<String>>,
}

Config Vars DELETE

Delete config-vars for an app. You delete the config vars by setting the value to None.

There is no endpoint for this DELETE request, because it's done through a PATCH request, by just setting the value to null/None. Separated into it's own file for clarity sakes.

Fields

app_id: &'a str

app_id is the unique app identifier.

params: HashMap<String, Option<String>>

The parameters to pass to the Heroku API

Methods

impl<'a> AppConfigVarDelete<'a>[src]

pub fn new(
    app_id: &'a str,
    params: HashMap<String, Option<String>>
) -> AppConfigVarDelete
[src]

pub fn create(app_id: &'a str, delete_key: String) -> AppConfigVarDelete<'a>[src]

Trait Implementations

impl<'a> HerokuEndpoint<HashMap<String, Option<String>, RandomState>, (), HashMap<String, Option<String>, RandomState>> for AppConfigVarDelete<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for AppConfigVarDelete<'a>

impl<'a> Send for AppConfigVarDelete<'a>

impl<'a> Sync for AppConfigVarDelete<'a>

impl<'a> Unpin for AppConfigVarDelete<'a>

impl<'a> UnwindSafe for AppConfigVarDelete<'a>

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.