Struct mongodb::coll::options::IndexOptions [] [src]

pub struct IndexOptions {
    pub background: Option<bool>,
    pub expire_after_seconds: Option<i32>,
    pub name: Option<String>,
    pub sparse: Option<bool>,
    pub storage_engine: Option<String>,
    pub unique: Option<bool>,
    pub version: Option<i32>,
    pub default_language: Option<String>,
    pub language_override: Option<String>,
    pub text_version: Option<i32>,
    pub weights: Option<Document>,
    pub sphere_version: Option<i32>,
    pub bits: Option<i32>,
    pub max: Option<f64>,
    pub min: Option<f64>,
    pub bucket_size: Option<i32>,
}

Options for index operations.

Fields

background: Option<bool> expire_after_seconds: Option<i32> name: Option<String> sparse: Option<bool> storage_engine: Option<String> unique: Option<bool> version: Option<i32> default_language: Option<String> language_override: Option<String> text_version: Option<i32> weights: Option<Document> sphere_version: Option<i32> bits: Option<i32> max: Option<f64> min: Option<f64> bucket_size: Option<i32>

Methods

impl IndexOptions
[src]

fn new() -> IndexOptions

Trait Implementations

impl Clone for IndexOptions
[src]

fn clone(&self) -> IndexOptions

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more