[][src]Struct heroku_rs::endpoints::addons::patch::WebhookUpdate

pub struct WebhookUpdate<'a> {
    pub addon_id: &'a str,
    pub webhook_id: &'a str,
    pub params: WebhookUpdateParams<'a>,
}

Add-on Webhook Update

Updates the details of an add-on webhook subscription. Can only be accessed by the add-on partner providing this add-on.

See Heroku documentation for more information about this endpoint

Fields

addon_id: &'a str

unique add-on identifier, either add-on id or add-on name

webhook_id: &'a str

unique webhook identifier

params: WebhookUpdateParams<'a>

parameters to pass to the Heroku API

Methods

impl<'a> WebhookUpdate<'a>[src]

pub fn new(
    addon_id: &'a str,
    webhook_id: &'a str,
    authorization: Option<&'a str>,
    include: Option<Vec<&'a str>>,
    level: Option<&'a str>,
    secret: Option<&'a str>,
    url: Option<&'a str>
) -> WebhookUpdate<'a>
[src]

Update webhook with optional parameters

Trait Implementations

impl<'a> HerokuEndpoint<Vec<AddonConfig>, (), WebhookUpdateParams<'a>> for WebhookUpdate<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for WebhookUpdate<'a>

impl<'a> Send for WebhookUpdate<'a>

impl<'a> Sync for WebhookUpdate<'a>

impl<'a> Unpin for WebhookUpdate<'a>

impl<'a> UnwindSafe for WebhookUpdate<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.