Trait meilisearch_sdk::documents::IndexConfig
source · pub trait IndexConfig {
const INDEX_STR: &'static str;
// 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;
// Provided method
fn index(client: &Client) -> Index { ... }
}