pub struct AttemptEvent {
pub id: NotificationAttemptId,
pub notification_id: NotificationId,
pub attempt: u32,
pub lease_version: i64,
pub kind: String,
pub class: Option<DeliveryClass>,
pub created_at: DateTime<Utc>,
}Expand description
One immutable delivery-attempt event.
Fields§
§id: NotificationAttemptIdEvent identity.
notification_id: NotificationIdParent notification.
attempt: u32Attempt number.
lease_version: i64Lease fence that authored the event.
kind: StringStable event kind.
class: Option<DeliveryClass>Optional failure classification.
created_at: DateTime<Utc>Event time.
Trait Implementations§
Source§impl Clone for AttemptEvent
impl Clone for AttemptEvent
Source§fn clone(&self) -> AttemptEvent
fn clone(&self) -> AttemptEvent
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 AttemptEvent
impl Debug for AttemptEvent
Source§impl<'de> Deserialize<'de> for AttemptEvent
impl<'de> Deserialize<'de> for AttemptEvent
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
Source§impl PartialEq for AttemptEvent
impl PartialEq for AttemptEvent
Source§impl Serialize for AttemptEvent
impl Serialize for AttemptEvent
impl StructuralPartialEq for AttemptEvent
Auto Trait Implementations§
impl Freeze for AttemptEvent
impl RefUnwindSafe for AttemptEvent
impl Send for AttemptEvent
impl Sync for AttemptEvent
impl Unpin for AttemptEvent
impl UnsafeUnpin for AttemptEvent
impl UnwindSafe for AttemptEvent
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