Struct heroku_rs::endpoints::apps::post::AppWebhookCreateParams [−][src]
pub struct AppWebhookCreateParams<'a> { pub authorization: Option<&'a str>, pub include: Vec<&'a str>, pub level: &'a str, pub secret: Option<&'a str>, pub url: &'a str, }
Expand description
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<&'a str>
The entities that the subscription provides notifications for
level: &'a str
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<&'a str>
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: &'a str
The URL where the webhook’s notification requests are sent
Trait Implementations
impl<'a> Clone for AppWebhookCreateParams<'a>
[src]
impl<'a> Clone for AppWebhookCreateParams<'a>
[src]fn clone(&self) -> AppWebhookCreateParams<'a>
[src]
fn clone(&self) -> AppWebhookCreateParams<'a>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<'a> Debug for AppWebhookCreateParams<'a>
[src]
impl<'a> Debug for AppWebhookCreateParams<'a>
[src]impl<'a> HerokuEndpoint<AppWebhook, (), AppWebhookCreateParams<'a>> for AppWebhookCreate<'a>
[src]
impl<'a> HerokuEndpoint<AppWebhook, (), AppWebhookCreateParams<'a>> for AppWebhookCreate<'a>
[src]fn method(&self) -> Method
[src]
fn path(&self) -> String
[src]
fn body(&self) -> Option<AppWebhookCreateParams<'a>>
[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<'a> Serialize for AppWebhookCreateParams<'a>
[src]
impl<'a> Serialize for AppWebhookCreateParams<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for AppWebhookCreateParams<'a>
impl<'a> Send for AppWebhookCreateParams<'a>
impl<'a> Sync for AppWebhookCreateParams<'a>
impl<'a> Unpin for AppWebhookCreateParams<'a>
impl<'a> UnwindSafe for AppWebhookCreateParams<'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]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more