We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7156e1e commit 3323ed8Copy full SHA for 3323ed8
src/coll/options.rs
@@ -837,18 +837,6 @@ pub struct FindOneOptions {
837
pub sort: Option<Document>,
838
}
839
840
-/// Specifies an index to create.
841
-#[derive(Debug, TypedBuilder)]
842
-#[non_exhaustive]
843
-pub struct IndexModel {
844
- /// The fields to index, along with their sort order.
845
- pub keys: Document,
846
-
847
- /// Extra options to use when creating the index.
848
- #[builder(default)]
849
- pub options: Option<Document>,
850
-}
851
852
/// Specifies the options to a [`Collection::drop`](../struct.Collection.html#method.drop)
853
/// operation.
854
#[derive(Debug, Default, TypedBuilder, Serialize)]
0 commit comments