Struct heroku_rs::endpoints::apps::patch::AppWebhookUpdateParams [−][src]
pub struct AppWebhookUpdateParams<'a> { pub authorization: Option<&'a str>, pub include: Option<Vec<&'a str>>, pub level: Option<&'a str>, pub secret: Option<&'a str>, pub url: Option<&'a str>, }
Expand description
Update an existing app webhook with parameters.
All parameters for this patch are optional.
See Heroku documentation for more information about this endpoint
Fields
A custom Authorization header that Heroku will include with all webhook notifications [Nullable]
include: Option<Vec<&'a str>>
The entities that the subscription provides notifications for
level: Option<&'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) [Nullable]
url: Option<&'a str>
The URL where the webhook’s notification requests are sent
Trait Implementations
impl<'a> Clone for AppWebhookUpdateParams<'a>
[src]
impl<'a> Clone for AppWebhookUpdateParams<'a>
[src]fn clone(&self) -> AppWebhookUpdateParams<'a>
[src]
fn clone(&self) -> AppWebhookUpdateParams<'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 AppWebhookUpdateParams<'a>
[src]
impl<'a> Debug for AppWebhookUpdateParams<'a>
[src]impl<'a> HerokuEndpoint<AppWebhook, (), AppWebhookUpdateParams<'a>> for AppWebhookUpdate<'a>
[src]
impl<'a> HerokuEndpoint<AppWebhook, (), AppWebhookUpdateParams<'a>> for AppWebhookUpdate<'a>
[src]fn method(&self) -> Method
[src]
fn path(&self) -> String
[src]
fn body(&self) -> Option<AppWebhookUpdateParams<'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 AppWebhookUpdateParams<'a>
[src]
impl<'a> Serialize for AppWebhookUpdateParams<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for AppWebhookUpdateParams<'a>
impl<'a> Send for AppWebhookUpdateParams<'a>
impl<'a> Sync for AppWebhookUpdateParams<'a>
impl<'a> Unpin for AppWebhookUpdateParams<'a>
impl<'a> UnwindSafe for AppWebhookUpdateParams<'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