Struct sqlite_parser::Column
source · 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: i32
The id of the column (starts with 0 and is incremented for each column)
name: String
The name of the column
the_type: Type
The type of the column
nullable: bool
Checks if the column is nullable
part_of_pk: bool
Checks if the column is part of the primary key
Trait Implementations§
source§impl PartialEq for Column
impl PartialEq for Column
impl Eq for Column
impl StructuralEq for Column
impl StructuralPartialEq for Column
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more