pub struct WebhookDelivery {
pub id: String,
pub webhook_id: String,
pub event_type: String,
pub http_status: i32,
pub success: bool,
pub attempt_number: i32,
pub error_message: Option<String>,
pub response_time_ms: i32,
pub created_at: Option<String>,
}Expand description
A webhook delivery attempt.
Fields§
§id: StringUnique delivery identifier.
webhook_id: StringWebhook ID this delivery belongs to.
event_type: StringEvent type that triggered this delivery.
http_status: i32HTTP status code from the endpoint.
success: boolWhether the delivery was successful.
attempt_number: i32Attempt number (1-based).
error_message: Option<String>Error message if the delivery failed.
response_time_ms: i32Response time in milliseconds.
created_at: Option<String>Timestamp of the delivery attempt.
Trait Implementations§
Source§impl Clone for WebhookDelivery
impl Clone for WebhookDelivery
Source§fn clone(&self) -> WebhookDelivery
fn clone(&self) -> WebhookDelivery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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 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