#[repr(u8)]pub enum Model {
Kv = 0,
Document = 1,
Vector = 2,
Graph = 3,
}Expand description
Which of the four models a collection belongs to.
This is the axis the whole engine is organised along, so it is one byte at a fixed offset rather than something inferred from the value type.
Variants§
Implementations§
Trait Implementations§
impl Copy for Model
impl Eq for Model
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnsafeUnpin for Model
impl UnwindSafe for Model
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