Struct heroku_rs::endpoints::apps::get::WebhookEventDetails [−][src]
Expand description
App Webhook Event Info
Returns the info for a specified webhook event.
See Heroku documentation for more information about this endpoint
Example:
WebhookEventDetails takes two required parameters, app_id and event_id, and returns a WebhookEvent
.
use heroku_rs::prelude::*; let response = api_client.request(&apps::WebhookEventDetails::new("APP_ID", "EVENT_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.
event_id: &'a str
webhook event’s unique identifier
Implementations
impl<'a> WebhookEventDetails<'a>
[src]
impl<'a> WebhookEventDetails<'a>
[src]pub fn new(app_id: &'a str, event_id: &'a str) -> WebhookEventDetails<'a>
[src]
Trait Implementations
impl<'a> HerokuEndpoint<WebhookEvent, (), ()> for WebhookEventDetails<'a>
[src]
impl<'a> HerokuEndpoint<WebhookEvent, (), ()> for WebhookEventDetails<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for WebhookEventDetails<'a>
impl<'a> Send for WebhookEventDetails<'a>
impl<'a> Sync for WebhookEventDetails<'a>
impl<'a> Unpin for WebhookEventDetails<'a>
impl<'a> UnwindSafe for WebhookEventDetails<'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]