pub struct RawEvent {
pub event_id: EventNumber,
pub aggregate_type: String,
pub entity_id: String,
pub sequence: EventNumber,
pub event_type: String,
pub payload: Vec<u8>,
}
Expand description
An owned, raw view of event data.
Fields§
§event_id: EventNumber
The event id.
aggregate_type: String
The aggregate type.
entity_id: String
The entity id.
sequence: EventNumber
The sequence number of this event in the entity’s event stream.
event_type: String
The event type.
payload: Vec<u8>
The raw event payload.
Trait Implementations§
impl Eq for RawEvent
impl StructuralPartialEq for RawEvent
Auto Trait Implementations§
impl Freeze for RawEvent
impl RefUnwindSafe for RawEvent
impl Send for RawEvent
impl Sync for RawEvent
impl Unpin for RawEvent
impl UnwindSafe for RawEvent
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