Skip to content

Commit

Permalink
minor: remove unused IndexModel struct (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickfreed authored Jun 4, 2020
1 parent 7156e1e commit 3323ed8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/coll/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -837,18 +837,6 @@ pub struct FindOneOptions {
pub sort: Option<Document>,
}

/// Specifies an index to create.
#[derive(Debug, TypedBuilder)]
#[non_exhaustive]
pub struct IndexModel {
/// The fields to index, along with their sort order.
pub keys: Document,

/// Extra options to use when creating the index.
#[builder(default)]
pub options: Option<Document>,
}

/// Specifies the options to a [`Collection::drop`](../struct.Collection.html#method.drop)
/// operation.
#[derive(Debug, Default, TypedBuilder, Serialize)]
Expand Down

0 comments on commit 3323ed8

Please sign in to comment.