pub struct AsyncEventEntry {
pub sequence: u64,
pub timestamp: DateTime<Utc>,
pub event: DomainEvent,
}Expand description
An entry in the event store with metadata.
Fields§
§sequence: u64§timestamp: DateTime<Utc>§event: DomainEventTrait Implementations§
Source§impl Clone for AsyncEventEntry
impl Clone for AsyncEventEntry
Source§fn clone(&self) -> AsyncEventEntry
fn clone(&self) -> AsyncEventEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsyncEventEntry
impl Debug for AsyncEventEntry
Source§impl<'de> Deserialize<'de> for AsyncEventEntry
impl<'de> Deserialize<'de> for AsyncEventEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AsyncEventEntry
impl RefUnwindSafe for AsyncEventEntry
impl Send for AsyncEventEntry
impl Sync for AsyncEventEntry
impl Unpin for AsyncEventEntry
impl UnsafeUnpin for AsyncEventEntry
impl UnwindSafe for AsyncEventEntry
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