From 3323ed8501b68b58951260f0edc47dfa20d36479 Mon Sep 17 00:00:00 2001 From: Patrick Freed Date: Thu, 4 Jun 2020 13:02:20 -0400 Subject: [PATCH] minor: remove unused IndexModel struct (#194) --- src/coll/options.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/coll/options.rs b/src/coll/options.rs index f2198a224..319f8f878 100644 --- a/src/coll/options.rs +++ b/src/coll/options.rs @@ -837,18 +837,6 @@ pub struct FindOneOptions { pub sort: Option, } -/// 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, -} - /// Specifies the options to a [`Collection::drop`](../struct.Collection.html#method.drop) /// operation. #[derive(Debug, Default, TypedBuilder, Serialize)]