Struct sqlite_parser::Table
source · pub struct Table {
pub table_name: String,
pub columns: Vec<Column>,
pub foreign_keys: Vec<ForeignKey>,
pub indexes: Vec<Index>,
}
Expand description
Represents a table in SQLite
Fields§
§table_name: String
The table name
columns: Vec<Column>
The columns of the table
foreign_keys: Vec<ForeignKey>
The foreign keys of the table
indexes: Vec<Index>
Implementations§
Trait Implementations§
source§impl PartialEq for Table
impl PartialEq for Table
impl Eq for Table
impl StructuralEq for Table
impl StructuralPartialEq for Table
Auto Trait Implementations§
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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