pub struct Event<PT> {
pub id: EventId,
pub idempotency_token: Option<IdempotencyToken>,
pub event_type: EventType,
pub payload: Payload<PT>,
pub created_at: OffsetDateTime,
pub locked_until: OffsetDateTime,
pub status: EventStatus,
}Fields§
§id: EventId§idempotency_token: Option<IdempotencyToken>§event_type: EventType§payload: Payload<PT>§created_at: OffsetDateTime§locked_until: OffsetDateTime§status: EventStatusImplementations§
Auto Trait Implementations§
impl<PT> Freeze for Event<PT>where
PT: Freeze,
impl<PT> RefUnwindSafe for Event<PT>where
PT: RefUnwindSafe,
impl<PT> Send for Event<PT>where
PT: Send,
impl<PT> Sync for Event<PT>where
PT: Sync,
impl<PT> Unpin for Event<PT>where
PT: Unpin,
impl<PT> UnsafeUnpin for Event<PT>where
PT: UnsafeUnpin,
impl<PT> UnwindSafe for Event<PT>where
PT: UnwindSafe,
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