pub enum ReadModelMutation {
UpsertRow(RowMutation),
PatchRow(PatchRowMutation),
DeleteRow(DeleteRowMutation),
}Expand description
First-pass read-model write-plan mutation surface.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ReadModelMutation
impl Clone for ReadModelMutation
Source§fn clone(&self) -> ReadModelMutation
fn clone(&self) -> ReadModelMutation
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 ReadModelMutation
impl Debug for ReadModelMutation
Source§impl PartialEq for ReadModelMutation
impl PartialEq for ReadModelMutation
Source§fn eq(&self, other: &ReadModelMutation) -> bool
fn eq(&self, other: &ReadModelMutation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReadModelMutation
Auto Trait Implementations§
impl Freeze for ReadModelMutation
impl RefUnwindSafe for ReadModelMutation
impl Send for ReadModelMutation
impl Sync for ReadModelMutation
impl Unpin for ReadModelMutation
impl UnsafeUnpin for ReadModelMutation
impl UnwindSafe for ReadModelMutation
Blanket Implementations§
Source§impl<T> AsyncAggregateBuilder for T
impl<T> AsyncAggregateBuilder for T
fn async_aggregate<A: Aggregate>(self) -> AsyncAggregateRepository<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_async(self) -> QueuedRepository<Self, InMemoryAsyncLockManager>
fn queued_async(self) -> QueuedRepository<Self, InMemoryAsyncLockManager>
Wrap with the default async lock manager. Pair with
.async_aggregate::<T>() for per-aggregate serialization over the async
repository surface.Source§fn queued_async_with<L: AsyncLockManager>(
self,
lock_manager: L,
) -> QueuedRepository<Self, L>
fn queued_async_with<L: AsyncLockManager>( self, lock_manager: L, ) -> QueuedRepository<Self, L>
Wrap with a custom async lock manager.