pub struct DefaultReadonlyEnrichmentStrategy;Trait Implementations§
Source§impl<T: Entity, TRelated: Entity> ReadonlyEnrichmentStrategy<T, TRelated> for DefaultReadonlyEnrichmentStrategy
impl<T: Entity, TRelated: Entity> ReadonlyEnrichmentStrategy<T, TRelated> for DefaultReadonlyEnrichmentStrategy
fn apply<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
via: Arc<dyn IReadonlyRepository<TRelated>>,
enrichment: &'life1 Enrichment,
parents: &'life2 mut Vec<T>,
sources: Option<&'life3 [Option<Row>]>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn apply_object<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
via: Arc<dyn IReadonlyRepository<TRelated>>,
enrichment: &'life1 Enrichment,
parents: &'life2 mut Vec<T>,
sources: Option<&'life3 [Option<Row>]>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn apply_list<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
via: Arc<dyn IReadonlyRepository<TRelated>>,
enrichment: &'life1 Enrichment,
parents: &'life2 mut Vec<T>,
sources: Option<&'life3 [Option<Row>]>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl Forget for DefaultReadonlyEnrichmentStrategy
impl Freeze for DefaultReadonlyEnrichmentStrategy
impl RefUnwindSafe for DefaultReadonlyEnrichmentStrategy
impl Send for DefaultReadonlyEnrichmentStrategy
impl Sync for DefaultReadonlyEnrichmentStrategy
impl Unpin for DefaultReadonlyEnrichmentStrategy
impl UnsafeUnpin for DefaultReadonlyEnrichmentStrategy
impl UnwindSafe for DefaultReadonlyEnrichmentStrategy
Blanket Implementations§
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