[−][src]Struct heroku_rs::endpoints::apps::post::AppWebhookCreateParams
Create a new app webhook with parameters.
See Heroku documentation for more information about this endpoint
Fields
A custom Authorization header that Heroku will include with all webhook notifications
include: Vec<String>
The entities that the subscription provides notifications for
level: String
One of: "notify" or "sync" If notify, Heroku makes a single, fire-and-forget delivery attempt. If sync, Heroku attempts multiple deliveries until the request is successful or a limit is reached
secret: Option<String>
A value that Heroku will use to sign all webhook notification requests (the signature is included in the request’s Heroku-Webhook-Hmac-SHA256 header)
url: String
The URL where the webhook’s notification requests are sent
Trait Implementations
impl Clone for AppWebhookCreateParams
[src]
fn clone(&self) -> AppWebhookCreateParams
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AppWebhookCreateParams
[src]
impl HerokuEndpoint<AppWebhook, (), AppWebhookCreateParams> for AppWebhookCreate
[src]
fn method(&self) -> Method
[src]
fn path(&self) -> String
[src]
fn body(&self) -> Option<AppWebhookCreateParams>
[src]
fn query(&self) -> Option<QueryType>
[src]
fn url(&self, environment: &ApiEnvironment) -> Url
[src]
fn content_type(&self) -> &str
[src]
fn version(&self) -> &str
[src]
fn agent(&self) -> &str
[src]
impl Serialize for AppWebhookCreateParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for AppWebhookCreateParams
impl Send for AppWebhookCreateParams
impl Sync for AppWebhookCreateParams
impl Unpin for AppWebhookCreateParams
impl UnwindSafe for AppWebhookCreateParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,