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

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<Document>,
    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<Document>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]

pub fn new() -> Self[src]

Trait Implementations

impl Default for IndexOptions[src]

impl Clone for IndexOptions[src]

impl PartialEq<IndexOptions> for IndexOptions[src]

impl Debug for IndexOptions[src]

impl<'de> Deserialize<'de> for IndexOptions[src]

impl Serialize for IndexOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self