pub struct BoundVirtualColumn {
pub column: u16,
pub expr: BoundExpr,
}Expand description
A VIRTUAL generated column whose value a write has to look at.
A virtual column is in no record, so the row a write builds does not hold
it. NOT NULL and a STRICT table’s type check test the value that would be
read back, which has to be computed from the row. Only the columns that
declare one of those are here, so a table with no such column carries an
empty vector and the write path does nothing extra.
Fields§
§column: u16The column, by declared position.
expr: BoundExprThe column’s value as it is read: the expression, converted by the column’s affinity.
Trait Implementations§
Source§impl Clone for BoundVirtualColumn
impl Clone for BoundVirtualColumn
Source§impl Debug for BoundVirtualColumn
impl Debug for BoundVirtualColumn
Source§impl PartialEq for BoundVirtualColumn
impl PartialEq for BoundVirtualColumn
impl StructuralPartialEq for BoundVirtualColumn
Auto Trait Implementations§
impl !Send for BoundVirtualColumn
impl !Sync for BoundVirtualColumn
impl Freeze for BoundVirtualColumn
impl RefUnwindSafe for BoundVirtualColumn
impl Unpin for BoundVirtualColumn
impl UnsafeUnpin for BoundVirtualColumn
impl UnwindSafe for BoundVirtualColumn
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