Struct heroku_rs::endpoints::domains::delete::DomainDelete [−][src]
Expand description
Domain Delete
Delete an existing domain
See Heroku documentation for more information about this endpoint
Example:
DomainDelete takes two required parameters, app_id and domain_id, and returns the deleted Domain
.
use heroku_rs::prelude::*; let response = api_client.request(&DomainDelete::new("APP_ID", "DOMAIN_ID")); match response { Ok(success) => println!("Success: {:#?}", success), Err(e) => println!("Error: {}", e), }
See how to create the Heroku api_client
.
Fields
app_id: &'a str
app_id can be the app name or id.
domain_id: &'a str
domain_id can be the domain hostname or id.
Implementations
impl<'a> DomainDelete<'a>
[src]
impl<'a> DomainDelete<'a>
[src]pub fn new(app_id: &'a str, domain_id: &'a str) -> DomainDelete<'a>
[src]
Trait Implementations
impl<'a> HerokuEndpoint<Domain, (), ()> for DomainDelete<'a>
[src]
impl<'a> HerokuEndpoint<Domain, (), ()> for DomainDelete<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for DomainDelete<'a>
impl<'a> Send for DomainDelete<'a>
impl<'a> Sync for DomainDelete<'a>
impl<'a> Unpin for DomainDelete<'a>
impl<'a> UnwindSafe for DomainDelete<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]