pub enum IndexType {
Hash,
BTree,
FullText,
Unique,
}Expand description
Type of document index.
Variants§
Hash
Hash index for equality lookups.
BTree
B-tree index for range queries.
FullText
Full-text search index.
Unique
Unique index (no duplicates allowed).
Trait Implementations§
impl Copy for IndexType
impl Eq for IndexType
impl StructuralPartialEq for IndexType
Auto Trait Implementations§
impl Freeze for IndexType
impl RefUnwindSafe for IndexType
impl Send for IndexType
impl Sync for IndexType
impl Unpin for IndexType
impl UnsafeUnpin for IndexType
impl UnwindSafe for IndexType
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