Enum arangors::index::IndexSettings
source · pub enum IndexSettings {
Primary {
unique: bool,
sparse: bool,
},
Persistent {
unique: bool,
sparse: bool,
deduplicate: bool,
},
Edge {
unique: bool,
sparse: 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,
},
}
Expand description
Settings for the different index types. This enum
also sets the index
type.
Variants§
Trait Implementations§
source§impl Clone for IndexSettings
impl Clone for IndexSettings
source§fn clone(&self) -> IndexSettings
fn clone(&self) -> IndexSettings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IndexSettings
impl Debug for IndexSettings
source§impl Default for IndexSettings
impl Default for IndexSettings
source§impl<'de> Deserialize<'de> for IndexSettings
impl<'de> Deserialize<'de> for IndexSettings
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for IndexSettings
impl Send for IndexSettings
impl Sync for IndexSettings
impl Unpin for IndexSettings
impl UnwindSafe for IndexSettings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more