pub struct IndexDef {
pub index_id: u64,
pub name: String,
pub columns: Vec<ColumnName>,
}Expand description
Definition of a secondary index on a table.
Fields§
§index_id: u64Index ID in the store.
name: StringIndex name.
columns: Vec<ColumnName>Indexed column names (in order).
Implementations§
Trait Implementations§
impl Eq for IndexDef
impl StructuralPartialEq for IndexDef
Auto Trait Implementations§
impl Freeze for IndexDef
impl RefUnwindSafe for IndexDef
impl Send for IndexDef
impl Sync for IndexDef
impl Unpin for IndexDef
impl UnwindSafe for IndexDef
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