pub struct ColumnDef {
pub name: Box<str>,
pub ty: ValueType,
pub optional: bool,
}Expand description
Static, build-time column metadata (spec 05 §4.1). The ONLY place a column
name lives; the index into a &[ColumnDef] IS the [ColId]. optional
drives the start-bound nullable-aware = vs IS / <,> vs (… IS NULL OR …) lowering (§3.7); ty drives the value boundary (to_sqlite_param and the
leaf’s col() conversion).
Fields§
§name: Box<str>§ty: ValueType§optional: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for ColumnDef
impl RefUnwindSafe for ColumnDef
impl Send for ColumnDef
impl Sync for ColumnDef
impl Unpin for ColumnDef
impl UnsafeUnpin for ColumnDef
impl UnwindSafe for ColumnDef
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