[][src]Enum arangors::index::IndexSettings

pub enum IndexSettings {
    Primary {
        unique: bool,
        sparse: bool,
    },
    Persistent {
        unique: bool,
        sparse: bool,
        deduplicate: bool,
    },
    Hash {
        unique: bool,
        sparse: bool,
        deduplicate: bool,
    },
    Skiplist {
        unique: bool,
        sparse: bool,
        deduplicate: bool,
    },
    Ttl {
        expire_after: u32,
    },
    Geo {
        geo_json: bool,
    },
    Fulltext {
        min_length: u32,
    },
}

Settings for the different index types. This enum also sets the index type.

Variants

Primary

Fields of Primary

unique: boolsparse: bool
Persistent

Fields of Persistent

unique: boolsparse: booldeduplicate: bool
Hash

Fields of Hash

unique: boolsparse: booldeduplicate: bool
Skiplist

Fields of Skiplist

unique: boolsparse: booldeduplicate: bool
Ttl

Fields of Ttl

expire_after: u32
Geo

Fields of Geo

geo_json: bool
Fulltext

Fields of Fulltext

min_length: u32

Trait Implementations

impl Debug for IndexSettings[src]

impl Default for IndexSettings[src]

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

impl Serialize for IndexSettings[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.