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