pub struct Index {
pub id: u32,
pub kind: u32,
pub attribute_ids: Vec<u32>,
pub entries: Vec<IndexEntry>,
}Expand description
One index over one or more attributes of a relation.
Fields§
§id: u32Matches IndexID in the schema’s index table.
kind: u32Matches IndexType: 1 for the relation’s unique index, 0 otherwise.
attribute_ids: Vec<u32>The attributes indexed, by id.
entries: Vec<IndexEntry>Entries, sorted by key.
Trait Implementations§
impl Eq for Index
impl StructuralPartialEq for Index
Auto Trait Implementations§
impl Freeze for Index
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnsafeUnpin for Index
impl UnwindSafe for Index
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