[−][src]Struct heroku_rs::endpoints::config_vars::delete::AppConfigVarDelete
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]
app_id: &'a str,
params: HashMap<String, Option<String>>
) -> AppConfigVarDelete
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]
fn method(&self) -> Method
[src]
fn path(&self) -> String
[src]
fn body(&self) -> Option<HashMap<String, Option<String>>>
[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]
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]
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, 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>,