pub struct TableSchema {
pub table: String,
pub columns: Vec<ColumnDef>,
pub indexes: Vec<IndexDef>,
}Expand description
Schema descriptor built from Model::columns().
Fields§
§table: String§columns: Vec<ColumnDef>§indexes: Vec<IndexDef>Implementations§
Source§impl TableSchema
impl TableSchema
Trait Implementations§
Source§impl Clone for TableSchema
impl Clone for TableSchema
Auto Trait Implementations§
impl Freeze for TableSchema
impl RefUnwindSafe for TableSchema
impl Send for TableSchema
impl Sync for TableSchema
impl Unpin for TableSchema
impl UnsafeUnpin for TableSchema
impl UnwindSafe for TableSchema
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