[−][src]Struct cqrs::VersionedEvent
A structured tuple combining an event number and an event.
Fields
sequence: EventNumber
The event number.
event: E
The event.
Trait Implementations
impl<E> PartialEq<VersionedEvent<E>> for VersionedEvent<E> where
E: PartialEq<E>,
[src]
E: PartialEq<E>,
fn eq(&self, other: &VersionedEvent<E>) -> bool
[src]
fn ne(&self, other: &VersionedEvent<E>) -> bool
[src]
impl<E> Hash for VersionedEvent<E> where
E: Hash,
[src]
E: Hash,
fn hash<__HE>(&self, state: &mut __HE) where
__HE: Hasher,
[src]
__HE: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<E> Copy for VersionedEvent<E> where
E: Copy,
[src]
E: Copy,
impl<E> Debug for VersionedEvent<E> where
E: Debug,
[src]
E: Debug,
impl<E> Clone for VersionedEvent<E> where
E: Clone,
[src]
E: Clone,
fn clone(&self) -> VersionedEvent<E>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<E> Eq for VersionedEvent<E> where
E: Eq,
[src]
E: Eq,
Auto Trait Implementations
impl<E> Sync for VersionedEvent<E> where
E: Sync,
E: Sync,
impl<E> Send for VersionedEvent<E> where
E: Send,
E: Send,
impl<E> Unpin for VersionedEvent<E> where
E: Unpin,
E: Unpin,
impl<E> RefUnwindSafe for VersionedEvent<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> UnwindSafe for VersionedEvent<E> where
E: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,