pub struct DomainEvent {
pub id: u64,
pub aggregate_id: u64,
pub event_type: String,
pub payload: String,
pub timestamp_ms: u64,
}Fields§
§id: u64§aggregate_id: u64§event_type: String§payload: String§timestamp_ms: u64Auto Trait Implementations§
impl Freeze for DomainEvent
impl RefUnwindSafe for DomainEvent
impl Send for DomainEvent
impl Sync for DomainEvent
impl Unpin for DomainEvent
impl UnsafeUnpin for DomainEvent
impl UnwindSafe for DomainEvent
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