pub enum RelationshipKind {
HasMany,
BelongsTo,
ManyToMany,
}Expand description
Relationship category for later workspace/write-plan lowering.
Variants§
Trait Implementations§
Source§impl Clone for RelationshipKind
impl Clone for RelationshipKind
Source§fn clone(&self) -> RelationshipKind
fn clone(&self) -> RelationshipKind
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 RelationshipKind
impl Debug for RelationshipKind
Source§impl<'de> Deserialize<'de> for RelationshipKind
impl<'de> Deserialize<'de> for RelationshipKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RelationshipKind
Source§impl PartialEq for RelationshipKind
impl PartialEq for RelationshipKind
Source§fn eq(&self, other: &RelationshipKind) -> bool
fn eq(&self, other: &RelationshipKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RelationshipKind
impl Serialize for RelationshipKind
impl StructuralPartialEq for RelationshipKind
Auto Trait Implementations§
impl Freeze for RelationshipKind
impl RefUnwindSafe for RelationshipKind
impl Send for RelationshipKind
impl Sync for RelationshipKind
impl Unpin for RelationshipKind
impl UnsafeUnpin for RelationshipKind
impl UnwindSafe for RelationshipKind
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.