pub enum ProjectionInvalidation {
Model {
model: String,
},
Relationship {
source_model: String,
relationship: String,
target_model: String,
},
}Expand description
Read-model inventory that a mutation invalidates for derived consumers.
Variants§
Model
Invalidate selections of a whole logical model.
Relationship
Invalidate one named relationship surface.
Implementations§
Source§impl ProjectionInvalidation
impl ProjectionInvalidation
Trait Implementations§
Source§impl Clone for ProjectionInvalidation
impl Clone for ProjectionInvalidation
Source§fn clone(&self) -> ProjectionInvalidation
fn clone(&self) -> ProjectionInvalidation
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 ProjectionInvalidation
impl Debug for ProjectionInvalidation
impl Eq for ProjectionInvalidation
Source§impl Hash for ProjectionInvalidation
impl Hash for ProjectionInvalidation
Source§impl Ord for ProjectionInvalidation
impl Ord for ProjectionInvalidation
Source§fn cmp(&self, other: &ProjectionInvalidation) -> Ordering
fn cmp(&self, other: &ProjectionInvalidation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProjectionInvalidation
impl PartialEq for ProjectionInvalidation
Source§impl PartialOrd for ProjectionInvalidation
impl PartialOrd for ProjectionInvalidation
Source§impl Serialize for ProjectionInvalidation
impl Serialize for ProjectionInvalidation
impl StructuralPartialEq for ProjectionInvalidation
Auto Trait Implementations§
impl Freeze for ProjectionInvalidation
impl RefUnwindSafe for ProjectionInvalidation
impl Send for ProjectionInvalidation
impl Sync for ProjectionInvalidation
impl Unpin for ProjectionInvalidation
impl UnsafeUnpin for ProjectionInvalidation
impl UnwindSafe for ProjectionInvalidation
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, InMemoryLockManager>
fn queued(self) -> QueuedRepository<Self, InMemoryLockManager>
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: LockManager>(
self,
lock_manager: L,
) -> QueuedRepository<Self, L>
fn queued_with<L: LockManager>( self, lock_manager: L, ) -> QueuedRepository<Self, L>
Wrap with a custom async lock manager.