pub enum WebhookDelivery {
Delivered {
status: u16,
},
FatalDrop {
status: u16,
},
TransientRetry {
reason: String,
},
}Expand description
Outcome of a webhook delivery attempt.
Variants§
Delivered
2xx response from the webhook target.
FatalDrop
4xx response — subscription is dropped.
TransientRetry
5xx or network — retry will be scheduled.
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 (const: unstable) · 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 PartialEq for WebhookDelivery
impl PartialEq for WebhookDelivery
Source§fn eq(&self, other: &WebhookDelivery) -> bool
fn eq(&self, other: &WebhookDelivery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WebhookDelivery
impl StructuralPartialEq for WebhookDelivery
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