pub trait Document {
    // Required methods
    fn generate_settings() -> Settings;
    fn generate_index<'life0, 'async_trait>(
client: &'life0 Client
) -> Pin<Box<dyn Future<Output = Result<Index, Task>> + Send + 'async_trait>>
where 'life0: 'async_trait; }

Required Methods§

source

fn generate_settings() -> Settings

source

fn generate_index<'life0, 'async_trait>(
client: &'life0 Client
) -> Pin<Box<dyn Future<Output = Result<Index, Task>> + Send + 'async_trait>>where
'life0: 'async_trait,

Implementors§