Struct heroku_rs::endpoints::domains::get::DomainList [−][src]
pub struct DomainList<'a> { pub app_id: &'a str, }
Expand description
Domain List
List existing domains.
See Heroku documentation for more information about this endpoint
Example:
DomainDetails takes one required parameter, app_id, and returns a list of Domains
.
use heroku_rs::prelude::*; let response = api_client.request(&DomainList::new("APP_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.
Implementations
impl<'a> DomainList<'a>
[src]
impl<'a> DomainList<'a>
[src]pub fn new(app_id: &'a str) -> DomainList<'a>
[src]
Trait Implementations
impl<'a> HerokuEndpoint<Vec<Domain, Global>, (), ()> for DomainList<'a>
[src]
impl<'a> HerokuEndpoint<Vec<Domain, Global>, (), ()> for DomainList<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for DomainList<'a>
impl<'a> Send for DomainList<'a>
impl<'a> Sync for DomainList<'a>
impl<'a> Unpin for DomainList<'a>
impl<'a> UnwindSafe for DomainList<'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]