pub struct TableDef {
pub schema: String,
pub name: String,
pub columns: Vec<ColumnDef>,
}Expand description
Definition of a database table.
Fields§
§schema: StringSchema the table belongs to.
name: StringName of the table.
columns: Vec<ColumnDef>Columns belonging to this table.
Trait Implementations§
impl StructuralPartialEq for TableDef
Auto Trait Implementations§
impl Freeze for TableDef
impl RefUnwindSafe for TableDef
impl Send for TableDef
impl Sync for TableDef
impl Unpin for TableDef
impl UnsafeUnpin for TableDef
impl UnwindSafe for TableDef
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