pub struct TableSpec {
pub n_keys: usize,
pub n_vals: usize,
pub uncacheable_columns: DenseIdMap<ColumnId, bool>,
pub allows_delete: bool,
}Fields§
§n_keys: usizeThe number of key columns for the table.
n_vals: usizeThe number of non-key (i.e. value) columns in the table.
The total “arity” of the table is n_keys + n_vals.
uncacheable_columns: DenseIdMap<ColumnId, bool>Columns that cannot be cached across generations.
These columns should (e.g.) never have indexes built for them, as they will go out of date too quickly.
allows_delete: boolWhether or not deletions are supported for this table.
Tables where this value is false are allowed to panic on calls to
stage_remove.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableSpec
impl RefUnwindSafe for TableSpec
impl Send for TableSpec
impl Sync for TableSpec
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more