Struct akka_persistence_rs::entity_manager::EventEnvelope
source · pub struct EventEnvelope<E> {
pub deletion_event: bool,
pub entity_id: EntityId,
pub seq_nr: u64,
pub event: E,
pub timestamp: DateTime<Utc>,
}
Expand description
An envelope wraps an event associated with a specific entity.
Fields§
§deletion_event: bool
Flags whether the associated event is to be considered as one that represents an entity instance being deleted.
entity_id: EntityId
§seq_nr: u64
§event: E
§timestamp: DateTime<Utc>
Implementations§
Trait Implementations§
source§impl<E: Clone> Clone for EventEnvelope<E>
impl<E: Clone> Clone for EventEnvelope<E>
source§fn clone(&self) -> EventEnvelope<E>
fn clone(&self) -> EventEnvelope<E>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<E: Debug> Debug for EventEnvelope<E>
impl<E: Debug> Debug for EventEnvelope<E>
source§impl<E: PartialEq> PartialEq for EventEnvelope<E>
impl<E: PartialEq> PartialEq for EventEnvelope<E>
source§fn eq(&self, other: &EventEnvelope<E>) -> bool
fn eq(&self, other: &EventEnvelope<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<E> StructuralPartialEq for EventEnvelope<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for EventEnvelope<E>where E: RefUnwindSafe,
impl<E> Send for EventEnvelope<E>where E: Send,
impl<E> Sync for EventEnvelope<E>where E: Sync,
impl<E> Unpin for EventEnvelope<E>where E: Unpin,
impl<E> UnwindSafe for EventEnvelope<E>where E: 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