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