pub struct WebhookDelivery {
pub id: String,
pub event_type: String,
pub status: String,
pub attempt_count: i64,
pub next_attempt_at: String,
pub last_attempt_at: Option<String>,
pub response_status_code: Option<i32>,
pub failure_reason: Option<String>,
pub created_at: String,
pub delivered_at: Option<String>,
}Expand description
One delivery attempt for a webhook subscription
(GET /v1/webhooks/{id}/deliveries’s WebhookDeliveryOut).
Fields§
§id: String§event_type: String§status: String"pending", "delivered", or "failed".
attempt_count: i64§next_attempt_at: String§last_attempt_at: Option<String>§response_status_code: Option<i32>§failure_reason: Option<String>§created_at: String§delivered_at: Option<String>Trait Implementations§
Source§impl Clone for WebhookDelivery
impl Clone for WebhookDelivery
Source§impl Debug for WebhookDelivery
impl Debug for WebhookDelivery
Source§impl<'de> Deserialize<'de> for WebhookDelivery
impl<'de> Deserialize<'de> for WebhookDelivery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WebhookDelivery
impl RefUnwindSafe for WebhookDelivery
impl Send for WebhookDelivery
impl Sync for WebhookDelivery
impl Unpin for WebhookDelivery
impl UnsafeUnpin for WebhookDelivery
impl UnwindSafe for WebhookDelivery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more