Trait meilisearch_sdk::documents::Document
source · 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;
}