pub struct Schema { /* private fields */ }
Expand description
A Schema (or Layout, hence the crate name) encompasses one or more Tables. Can be converted into an SQL Statement via the SQLStatement Methods. It is an Error for the Schema to be empty ([Error::SchemaWithoutTables]).
Implementations§
Trait Implementations§
Source§impl SQLStatement for Schema
impl SQLStatement for Schema
impl Eq for Schema
Auto Trait Implementations§
impl Freeze for Schema
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