pub struct TableSpec {
pub name: Vec<u8>,
pub prefix: Vec<u8>,
pub pk: Vec<u8>,
pub columns: Vec<(Vec<u8>, ValType)>,
pub indexes: Vec<TableIndex>,
pub orderpaths: Vec<OrderPath>,
}Expand description
One declared table.
Fields§
§name: Vec<u8>Unique catalog name.
prefix: Vec<u8>Key-prefix domain the table’s rows live under.
pk: Vec<u8>Primary-key column (documentation + VERIFY surface; rows are addressed by their key, exactly as today).
columns: Vec<(Vec<u8>, ValType)>Declared columns with their scalar types, declaration order.
indexes: Vec<TableIndex>Declared secondary indexes.
orderpaths: Vec<OrderPath>Declared composite-sort paths.
Implementations§
Trait Implementations§
impl Eq for TableSpec
impl StructuralPartialEq for TableSpec
Auto Trait Implementations§
impl Freeze for TableSpec
impl RefUnwindSafe for TableSpec
impl Send for TableSpec
impl Sync for TableSpec
impl Unpin for TableSpec
impl UnsafeUnpin for TableSpec
impl UnwindSafe for TableSpec
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