create_sparse_unique_index

Function create_sparse_unique_index 

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