Skip to main content

LessonQuerier

Trait LessonQuerier 

Source
pub trait LessonQuerier: Send + Sync {
    // Required method
    fn query_lessons<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 self,
        task: Option<&'life1 str>,
        project: Option<&'life2 str>,
        exclude_session: Option<&'life3 str>,
        agent_type: Option<&'life4 str>,
        limit: usize,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Value>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             'life4: 'async_trait;
}

Required Methods§

Source

fn query_lessons<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, task: Option<&'life1 str>, project: Option<&'life2 str>, exclude_session: Option<&'life3 str>, agent_type: Option<&'life4 str>, limit: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<Value>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait,

Implementors§