pub struct MutationRelationshipCapability {
pub name: String,
pub source_model: String,
pub target_model: String,
}Expand description
One relationship target generated for a read model.
Fields§
§name: StringRelationship field name.
source_model: StringSource model name.
target_model: StringTarget model name.
Trait Implementations§
Source§impl Clone for MutationRelationshipCapability
impl Clone for MutationRelationshipCapability
Source§fn clone(&self) -> MutationRelationshipCapability
fn clone(&self) -> MutationRelationshipCapability
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 moreimpl Eq for MutationRelationshipCapability
impl StructuralPartialEq for MutationRelationshipCapability
Auto Trait Implementations§
impl Freeze for MutationRelationshipCapability
impl RefUnwindSafe for MutationRelationshipCapability
impl Send for MutationRelationshipCapability
impl Sync for MutationRelationshipCapability
impl Unpin for MutationRelationshipCapability
impl UnsafeUnpin for MutationRelationshipCapability
impl UnwindSafe for MutationRelationshipCapability
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.