pub enum DatabaseKeyword {
Database,
Schema,
}Expand description
The keyword spelling of a database object — DATABASE or its exact synonym SCHEMA
(MySQL folds the two onto one grammar). Recorded on DropDatabase so the written
keyword round-trips.
Variants§
Trait Implementations§
Source§impl Clone for DatabaseKeyword
impl Clone for DatabaseKeyword
Source§fn clone(&self) -> DatabaseKeyword
fn clone(&self) -> DatabaseKeyword
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DatabaseKeyword
Source§impl Debug for DatabaseKeyword
impl Debug for DatabaseKeyword
Source§impl<'de> Deserialize<'de> for DatabaseKeyword
impl<'de> Deserialize<'de> for DatabaseKeyword
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DatabaseKeyword
Source§impl Hash for DatabaseKeyword
impl Hash for DatabaseKeyword
Source§impl PartialEq for DatabaseKeyword
impl PartialEq for DatabaseKeyword
Source§impl Serialize for DatabaseKeyword
impl Serialize for DatabaseKeyword
impl StructuralPartialEq for DatabaseKeyword
Auto Trait Implementations§
impl Freeze for DatabaseKeyword
impl RefUnwindSafe for DatabaseKeyword
impl Send for DatabaseKeyword
impl Sync for DatabaseKeyword
impl Unpin for DatabaseKeyword
impl UnsafeUnpin for DatabaseKeyword
impl UnwindSafe for DatabaseKeyword
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