pub enum IndexKind {
Normal,
Unique,
Search,
Vector,
}Expand description
What backs a DEFINE INDEX: full-text search, a vector structure, a
uniqueness constraint, or a plain lookup.
Variants§
Normal
A plain lookup index.
Unique
UNIQUE — a uniqueness constraint.
Search
SEARCH ANALYZER ... — full-text.
Vector
MTREE/HNSW — vector.
Trait Implementations§
impl Copy for IndexKind
impl Eq for IndexKind
impl StructuralPartialEq for IndexKind
Auto Trait Implementations§
impl Freeze for IndexKind
impl RefUnwindSafe for IndexKind
impl Send for IndexKind
impl Sync for IndexKind
impl Unpin for IndexKind
impl UnsafeUnpin for IndexKind
impl UnwindSafe for IndexKind
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