pub enum IndexType {
Hash,
Sorted,
Array,
Unique,
}Expand description
Type of secondary index on a collection field.
Variants§
Hash
Hash-based equality index for fast point lookups.
Sorted
B-tree sorted index for range queries on numeric fields.
Array
Hash-based index for array element membership queries.
Unique
Hash-based unique constraint index.
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