Struct sql_migration_sim::Schema
source · pub struct Schema {
pub tables: HashMap<String, Table>,
pub views: HashMap<String, View>,
/* private fields */
}
Expand description
The database schema, built from parsing one or more SQL statements.
Fields§
§tables: HashMap<String, Table>
The tables in the schema
views: HashMap<String, View>
The views in the schema
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Schema
impl !Send for Schema
impl !Sync for Schema
impl Unpin for Schema
impl !UnwindSafe for Schema
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