pub struct DropDatabaseStatement {
pub if_exists: bool,
pub name: String,
}
Expand description
DROP {DATABASE | SCHEMA} [IF EXISTS] db_name
Fields§
§if_exists: bool
§name: String
Implementations§
Source§impl DropDatabaseStatement
impl DropDatabaseStatement
pub fn parse( i: &str, ) -> IResult<&str, DropDatabaseStatement, ParseSQLError<&str>>
Trait Implementations§
Source§impl Clone for DropDatabaseStatement
impl Clone for DropDatabaseStatement
Source§fn clone(&self) -> DropDatabaseStatement
fn clone(&self) -> DropDatabaseStatement
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 DropDatabaseStatement
impl Debug for DropDatabaseStatement
Source§impl<'de> Deserialize<'de> for DropDatabaseStatement
impl<'de> Deserialize<'de> for DropDatabaseStatement
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
Source§impl Display for DropDatabaseStatement
impl Display for DropDatabaseStatement
Source§impl Hash for DropDatabaseStatement
impl Hash for DropDatabaseStatement
Source§impl PartialEq for DropDatabaseStatement
impl PartialEq for DropDatabaseStatement
Source§impl Serialize for DropDatabaseStatement
impl Serialize for DropDatabaseStatement
impl Eq for DropDatabaseStatement
impl StructuralPartialEq for DropDatabaseStatement
Auto Trait Implementations§
impl Freeze for DropDatabaseStatement
impl RefUnwindSafe for DropDatabaseStatement
impl Send for DropDatabaseStatement
impl Sync for DropDatabaseStatement
impl Unpin for DropDatabaseStatement
impl UnwindSafe for DropDatabaseStatement
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