pub struct Schema {
pub name: Slice,
pub drop: bool,
pub quiet: bool,
pub or_replace: bool,
pub temporary: bool,
pub cascade: bool,
}Expand description
CREATE SCHEMA name or DROP SCHEMA name.
Fields§
§name: SliceThe name, as a run of parts, outermost first.
drop: boolWhether this is a DROP rather than a CREATE.
quiet: boolWhether IF NOT EXISTS was written on a create or IF EXISTS on a drop.
or_replace: boolWhether OR REPLACE was written, which only a create can have.
temporary: boolWhether TEMP or TEMPORARY was written, which only a create can have.
cascade: boolWhether CASCADE was written, which only a drop can have.
Trait Implementations§
impl Copy for Schema
impl Eq for Schema
impl StructuralPartialEq 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 UnsafeUnpin 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