pub struct TableDef {
pub name: TableName,
pub comment: Option<String>,
pub columns: Vec<ColumnDef, Global>,
pub is_view: bool,
pub table_key: Vec<TableKey, Global>,
}
Fields
name: TableName
comment: Option<String>
comment of this table
columns: Vec<ColumnDef, Global>
columns of this table
is_view: bool
views can also be generated
table_key: Vec<TableKey, Global>
Trait Implementations
impl StructuralPartialEq for TableDef
Auto Trait Implementations
impl RefUnwindSafe for TableDef
impl Send for TableDef
impl Sync for TableDef
impl Unpin for TableDef
impl UnwindSafe for TableDef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more