pub struct SQLColumn {
pub name: String,
pub ty: SQLType,
pub not_null: bool,
pub primary_key: bool,
}Expand description
A single column definition inside a CREATE TABLE.
Fields§
§name: String§ty: SQLType§not_null: bool§primary_key: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for SQLColumn
impl RefUnwindSafe for SQLColumn
impl Send for SQLColumn
impl Sync for SQLColumn
impl Unpin for SQLColumn
impl UnsafeUnpin for SQLColumn
impl UnwindSafe for SQLColumn
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