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