pub struct ProjectionOutputInventory {
pub models: Vec<ProjectionOutputModel>,
pub relationships: Vec<ProjectionRelationship>,
}Expand description
Canonical model and relationship inventory generated by one declaration.
Fields§
§models: Vec<ProjectionOutputModel>Sorted, duplicate-free output models.
relationships: Vec<ProjectionRelationship>Sorted, duplicate-free logical relationships.
Implementations§
Source§impl ProjectionOutputInventory
impl ProjectionOutputInventory
Sourcepub fn new(
models: Vec<ProjectionOutputModel>,
relationships: Vec<ProjectionRelationship>,
) -> Self
pub fn new( models: Vec<ProjectionOutputModel>, relationships: Vec<ProjectionRelationship>, ) -> Self
Canonicalize a generated inventory.
Trait Implementations§
Source§impl Clone for ProjectionOutputInventory
impl Clone for ProjectionOutputInventory
Source§fn clone(&self) -> ProjectionOutputInventory
fn clone(&self) -> ProjectionOutputInventory
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 ProjectionOutputInventory
impl Debug for ProjectionOutputInventory
Source§impl Default for ProjectionOutputInventory
impl Default for ProjectionOutputInventory
Source§fn default() -> ProjectionOutputInventory
fn default() -> ProjectionOutputInventory
Returns the “default value” for a type. Read more
impl Eq for ProjectionOutputInventory
impl StructuralPartialEq for ProjectionOutputInventory
Auto Trait Implementations§
impl Freeze for ProjectionOutputInventory
impl RefUnwindSafe for ProjectionOutputInventory
impl Send for ProjectionOutputInventory
impl Sync for ProjectionOutputInventory
impl Unpin for ProjectionOutputInventory
impl UnsafeUnpin for ProjectionOutputInventory
impl UnwindSafe for ProjectionOutputInventory
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.