pub enum IndexKind {
Unique,
NonUnique,
}Expand description
Kind of secondary index.
Variants§
Unique
Enforces a uniqueness constraint: one primary key per indexed value.
NonUnique
Non-unique index: many primary keys per indexed value.
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