pub struct TableIndex {
pub column: Vec<u8>,
pub kind: IndexKind,
pub values: Vec<Vec<u8>>,
}Expand description
One declared secondary index: a column and a scalar kind, plus the
stored VALUES columns residual FILTER/SORT read.
Fields§
§column: Vec<u8>Declared column the index reads.
kind: IndexKindRange or Unique — nothing else compiles from a table
(aggregates stay a direct IDX.CREATE KIND agg declaration).
values: Vec<Vec<u8>>Declared columns stored per row (typed from the column decls).
Trait Implementations§
Source§impl Clone for TableIndex
impl Clone for TableIndex
Source§fn clone(&self) -> TableIndex
fn clone(&self) -> TableIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TableIndex
impl Debug for TableIndex
impl Eq for TableIndex
Source§impl PartialEq for TableIndex
impl PartialEq for TableIndex
impl StructuralPartialEq for TableIndex
Auto Trait Implementations§
impl Freeze for TableIndex
impl RefUnwindSafe for TableIndex
impl Send for TableIndex
impl Sync for TableIndex
impl Unpin for TableIndex
impl UnsafeUnpin for TableIndex
impl UnwindSafe for TableIndex
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