Enum nom_sql::parser::SqlQuery [−][src]
pub enum SqlQuery {
CreateTable(CreateTableStatement),
CreateView(CreateViewStatement),
Insert(InsertStatement),
CompoundSelect(CompoundSelectStatement),
Select(SelectStatement),
Delete(DeleteStatement),
DropTable(DropTableStatement),
Update(UpdateStatement),
Set(SetStatement),
}Variants
CreateTable(CreateTableStatement)CreateView(CreateViewStatement)Insert(InsertStatement)CompoundSelect(CompoundSelectStatement)Select(SelectStatement)Delete(DeleteStatement)DropTable(DropTableStatement)Update(UpdateStatement)Set(SetStatement)
Trait Implementations
impl Clone for SqlQuery[src]
impl Clone for SqlQueryfn clone(&self) -> SqlQuery[src]
fn clone(&self) -> SqlQueryReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for SqlQuery[src]
impl Debug for SqlQueryfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for SqlQuery[src]
impl Eq for SqlQueryimpl Hash for SqlQuery[src]
impl Hash for SqlQueryfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for SqlQuery[src]
impl PartialEq for SqlQueryfn eq(&self, other: &SqlQuery) -> bool[src]
fn eq(&self, other: &SqlQuery) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &SqlQuery) -> bool[src]
fn ne(&self, other: &SqlQuery) -> boolThis method tests for !=.
impl Display for SqlQuery[src]
impl Display for SqlQuery