Skip to content

Commit 3323ed8

Browse files
authored
minor: remove unused IndexModel struct (#194)
1 parent 7156e1e commit 3323ed8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/coll/options.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -837,18 +837,6 @@ pub struct FindOneOptions {
837837
pub sort: Option<Document>,
838838
}
839839

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-
852840
/// Specifies the options to a [`Collection::drop`](../struct.Collection.html#method.drop)
853841
/// operation.
854842
#[derive(Debug, Default, TypedBuilder, Serialize)]

0 commit comments

Comments
 (0)