pub enum WritableSchema {
Enabled(bool),
Reset,
}Expand description
Writable schema modes (test-only)
Variants§
Trait Implementations§
Source§impl Clone for WritableSchema
impl Clone for WritableSchema
Source§fn clone(&self) -> WritableSchema
fn clone(&self) -> WritableSchema
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WritableSchema
impl Debug for WritableSchema
Source§impl PartialEq for WritableSchema
impl PartialEq for WritableSchema
Source§impl<'a> ToSQL<'a, SQLiteValue<'a>> for WritableSchema
impl<'a> ToSQL<'a, SQLiteValue<'a>> for WritableSchema
fn to_sql(&self) -> SQL<'a, SQLiteValue<'a>>
Source§fn into_sql(self) -> SQL<'a, V>where
Self: Sized,
fn into_sql(self) -> SQL<'a, V>where
Self: Sized,
Consume self and return SQL without cloning.
Default delegates to
to_sql() (which clones). Types that own their SQL
(like SQL and SQLExpr) override this to avoid the clone.fn alias(&self, alias: &'static str) -> SQL<'a, V>
impl StructuralPartialEq for WritableSchema
Auto Trait Implementations§
impl Freeze for WritableSchema
impl RefUnwindSafe for WritableSchema
impl Send for WritableSchema
impl Sync for WritableSchema
impl Unpin for WritableSchema
impl UnwindSafe for WritableSchema
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