create_index

Function create_index 

Source
pub async fn create_index<T: Send + Sync>(
    collection: &Collection<T>,
    field: &str,
) -> Result<CreateIndexResult>