[][src]Struct heroku_rs::endpoints::addons::AddonWebhookDelivery

pub struct AddonWebhookDelivery {
    pub created_at: DateTime<Utc>,
    pub event: Event,
    pub id: String,
    pub num_attempts: i64,
    pub next_attempt_at: Option<DateTime<Utc>>,
    pub last_attempt: Option<LastAttempt>,
    pub status: String,
    pub updated_at: DateTime<Utc>,
    pub webhook: Webhook,
}

Add-on Webhook Delivery

Stability: production

Represents the delivery of a webhook notification, including its current status.

For more information please refer to the Heroku documentation

Fields

created_at: DateTime<Utc>

when the delivery was created

event: Event

event created

id: String

the delivery’s unique identifier

num_attempts: i64

number of times a delivery has been attempted

next_attempt_at: Option<DateTime<Utc>>

when delivery will be attempted again

last_attempt: Option<LastAttempt>

last attempt of a delivery

status: String

the delivery’s status one of:"pending" or "scheduled" or "retrying" or "failed" or "succeeded"

updated_at: DateTime<Utc>

when the delivery was last updated

webhook: Webhook

the webhook which we get the deliveries for

Trait Implementations

impl ApiResult for AddonWebhookDelivery[src]

impl Clone for AddonWebhookDelivery[src]

impl Debug for AddonWebhookDelivery[src]

impl<'de> Deserialize<'de> for AddonWebhookDelivery[src]

impl<'a> HerokuEndpoint<AddonWebhookDelivery, (), ()> for WebhookDeliveryDetails<'a>[src]

impl<'a> HerokuEndpoint<AddonWebhookDelivery, (), ()> for WebhookEventDetails<'a>[src]

impl Serialize for AddonWebhookDelivery[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.