pub struct WebhookFailureEvent {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub webhook: Option<Webhook>,
pub url: Option<String>,
pub http_status: Option<f64>,
pub response_or_error: Option<String>,
pub execution_id: Option<String>,
}Expand description
A record of a failed webhook delivery attempt. Created when a webhook payload could not be successfully delivered to the destination URL, either due to an HTTP error response or a network failure. Each failure event captures the HTTP status code (if available), the response body or error message, and a stable execution ID that is shared across retries of the same delivery.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
webhook: Option<Webhook>The webhook that this failure event is associated with.
url: Option<String>The URL that the webhook was trying to push to.
http_status: Option<f64>The HTTP status code returned by the webhook recipient. Null if the request failed before receiving a response (e.g., DNS resolution failure, connection timeout).
response_or_error: Option<String>The HTTP response body returned by the recipient, or the error message if the request failed before receiving a response. Truncated to 1000 characters.
execution_id: Option<String>A stable identifier for the webhook delivery attempt. This ID remains the same across retries of the same payload, making it useful for correlating multiple failure events that belong to the same logical delivery.
Trait Implementations§
Source§impl Clone for WebhookFailureEvent
impl Clone for WebhookFailureEvent
Source§fn clone(&self) -> WebhookFailureEvent
fn clone(&self) -> WebhookFailureEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more