Trait PopulateNested

Source
pub trait PopulateNested<C>: EsRepo {
    // Required method
    fn populate<'life0, 'life1, 'async_trait>(
        &'life0 self,
        lookup: HashMap<C, &'life1 mut Nested<<Self as EsRepo>::Entity>>,
    ) -> Pin<Box<dyn Future<Output = Result<(), <Self as EsRepo>::Err>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn populate<'life0, 'life1, 'async_trait>( &'life0 self, lookup: HashMap<C, &'life1 mut Nested<<Self as EsRepo>::Entity>>, ) -> Pin<Box<dyn Future<Output = Result<(), <Self as EsRepo>::Err>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§