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