pub struct Column {
pub id: i32,
pub name: String,
pub the_type: Type,
pub nullable: bool,
pub part_of_pk: bool,
}Expand description
Represents a column in SQLite
Fields§
§id: i32The id of the column (starts with 0 and is incremented for each column)
name: StringThe name of the column
the_type: TypeThe type of the column
nullable: boolChecks if the column is nullable
part_of_pk: boolChecks if the column is part of the primary key
Trait Implementations§
impl Eq for Column
impl StructuralPartialEq for Column
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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