Struct heroku_rs::endpoints::apps::get::AppWebhookDetails [−][src]
Expand description
App Webhook Info
Returns the info for an app webhook subscription.
See Heroku documentation for more information about this endpoint
Example:
AppWebhookDetails takes two required parameters, app_id and webhook_id, and returns a AppWebhook
.
use heroku_rs::prelude::*; let response = api_client.request(&AppWebhookDetails::new("APP_ID", "WEBHOOK_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.
webhook_id: &'a str
webhook_id is the webhook id.
Implementations
impl<'a> AppWebhookDetails<'a>
[src]
impl<'a> AppWebhookDetails<'a>
[src]pub fn new(app_id: &'a str, webhook_id: &'a str) -> AppWebhookDetails<'a>
[src]
Trait Implementations
impl<'a> HerokuEndpoint<AppWebhook, (), ()> for AppWebhookDetails<'a>
[src]
impl<'a> HerokuEndpoint<AppWebhook, (), ()> for AppWebhookDetails<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for AppWebhookDetails<'a>
impl<'a> Send for AppWebhookDetails<'a>
impl<'a> Sync for AppWebhookDetails<'a>
impl<'a> Unpin for AppWebhookDetails<'a>
impl<'a> UnwindSafe for AppWebhookDetails<'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]