pub struct RetryEntry {
pub message: Message,
pub retry_count: u32,
pub added_at: DateTime<Utc>,
pub retry_at: DateTime<Utc>,
}Expand description
A message scheduled for retry.
Fields§
§message: MessageThe message to retry.
retry_count: u32Number of times this message has been retried.
added_at: DateTime<Utc>When this message was first added to the queue.
retry_at: DateTime<Utc>When this message should be retried next.
Implementations§
Source§impl RetryEntry
impl RetryEntry
Trait Implementations§
Source§impl Clone for RetryEntry
impl Clone for RetryEntry
Source§impl Debug for RetryEntry
impl Debug for RetryEntry
impl Eq for RetryEntry
Source§impl Ord for RetryEntry
impl Ord for RetryEntry
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RetryEntry
impl PartialEq for RetryEntry
Auto Trait Implementations§
impl Freeze for RetryEntry
impl RefUnwindSafe for RetryEntry
impl Send for RetryEntry
impl Sync for RetryEntry
impl Unpin for RetryEntry
impl UnsafeUnpin for RetryEntry
impl UnwindSafe for RetryEntry
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