pub struct DeadLetter {
pub id: String,
pub endpoint_id: String,
pub subject: String,
pub event_id: String,
pub event_type: String,
pub data: String,
pub attempts: i64,
pub reason: String,
pub last_error: String,
pub status_code: Option<i64>,
pub created_at: String,
pub failed_at: String,
}Expand description
One row of webhooks_dead_letters, as crate::Webhooks::dead_letters
reads it back and crate::Webhooks::replay acts on it.
Fields§
§id: String§endpoint_id: String§subject: String§event_id: String§event_type: String§data: String§attempts: i64§reason: String§last_error: String§status_code: Option<i64>§created_at: StringWhen the event was published — what a replay preserves, because the envelope names the event’s own time, not a drain’s.
failed_at: StringTrait Implementations§
Source§impl Clone for DeadLetter
impl Clone for DeadLetter
Source§impl Debug for DeadLetter
impl Debug for DeadLetter
impl Eq for DeadLetter
Source§impl PartialEq for DeadLetter
impl PartialEq for DeadLetter
impl StructuralPartialEq for DeadLetter
Auto Trait Implementations§
impl Freeze for DeadLetter
impl RefUnwindSafe for DeadLetter
impl Send for DeadLetter
impl Sync for DeadLetter
impl Unpin for DeadLetter
impl UnsafeUnpin for DeadLetter
impl UnwindSafe for DeadLetter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.