pub struct ProjectionRelationship { /* private fields */ }Expand description
Provenance for a mutation of a relationship-owned row.
Implementations§
Source§impl ProjectionRelationship
impl ProjectionRelationship
Sourcepub fn try_new(
source_model: impl Into<String>,
relationship: impl Into<String>,
target_model: impl Into<String>,
) -> Result<Self, ProjectionProgramError>
pub fn try_new( source_model: impl Into<String>, relationship: impl Into<String>, target_model: impl Into<String>, ) -> Result<Self, ProjectionProgramError>
Sourcepub fn source_model(&self) -> &str
pub fn source_model(&self) -> &str
Return the relationship source model.
Sourcepub fn relationship(&self) -> &str
pub fn relationship(&self) -> &str
Return the stable relationship name.
Sourcepub fn target_model(&self) -> &str
pub fn target_model(&self) -> &str
Return the relationship target model.
Trait Implementations§
Source§impl Clone for ProjectionRelationship
impl Clone for ProjectionRelationship
Source§fn clone(&self) -> ProjectionRelationship
fn clone(&self) -> ProjectionRelationship
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 ProjectionRelationship
impl Debug for ProjectionRelationship
impl Eq for ProjectionRelationship
Source§impl Hash for ProjectionRelationship
impl Hash for ProjectionRelationship
Source§impl Ord for ProjectionRelationship
impl Ord for ProjectionRelationship
Source§fn cmp(&self, other: &ProjectionRelationship) -> Ordering
fn cmp(&self, other: &ProjectionRelationship) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ProjectionRelationship
impl PartialEq for ProjectionRelationship
Source§impl PartialOrd for ProjectionRelationship
impl PartialOrd for ProjectionRelationship
Source§impl Serialize for ProjectionRelationship
impl Serialize for ProjectionRelationship
impl StructuralPartialEq for ProjectionRelationship
Auto Trait Implementations§
impl Freeze for ProjectionRelationship
impl RefUnwindSafe for ProjectionRelationship
impl Send for ProjectionRelationship
impl Sync for ProjectionRelationship
impl Unpin for ProjectionRelationship
impl UnsafeUnpin for ProjectionRelationship
impl UnwindSafe for ProjectionRelationship
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.