pub struct LocalEvent {
pub event_type: String,
pub data: String,
}Fields§
§event_type: String§data: StringTrait Implementations§
Source§impl Clone for LocalEvent
impl Clone for LocalEvent
Source§fn clone(&self) -> LocalEvent
fn clone(&self) -> LocalEvent
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 LocalEvent
impl Debug for LocalEvent
Source§impl Event for LocalEvent
impl Event for LocalEvent
Source§impl PartialEq for LocalEvent
impl PartialEq for LocalEvent
Source§fn eq(&self, other: &LocalEvent) -> bool
fn eq(&self, other: &LocalEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocalEvent
Auto Trait Implementations§
impl Freeze for LocalEvent
impl RefUnwindSafe for LocalEvent
impl Send for LocalEvent
impl Sync for LocalEvent
impl Unpin for LocalEvent
impl UnsafeUnpin for LocalEvent
impl UnwindSafe for LocalEvent
Blanket Implementations§
Source§impl<T> AggregateBuilder for T
impl<T> AggregateBuilder for T
fn aggregate<A: Aggregate>(self) -> AggregateRepository<Self, A>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Queueable for T
impl<T> Queueable for T
Source§fn queued(self) -> QueuedRepository<Self, InMemoryAsyncLockManager>
fn queued(self) -> QueuedRepository<Self, InMemoryAsyncLockManager>
Wrap with the default async lock manager. Pair with
.aggregate::<T>() for per-aggregate serialization over the async
repository surface.Source§fn queued_with<L: AsyncLockManager>(
self,
lock_manager: L,
) -> QueuedRepository<Self, L>
fn queued_with<L: AsyncLockManager>( self, lock_manager: L, ) -> QueuedRepository<Self, L>
Wrap with a custom async lock manager.