pub struct ColumnDef {
pub name: ColumnName,
pub data_type: DataType,
pub nullable: bool,
}Expand description
Definition of a table column.
Fields§
§name: ColumnNameColumn name.
data_type: DataTypeColumn data type.
nullable: boolWhether the column can contain NULL values.
Implementations§
Trait Implementations§
impl Eq for ColumnDef
impl StructuralPartialEq for ColumnDef
Auto Trait Implementations§
impl Freeze for ColumnDef
impl RefUnwindSafe for ColumnDef
impl Send for ColumnDef
impl Sync for ColumnDef
impl Unpin 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