pub enum SqlElementType {
Show 16 variants
Root,
Identifier,
Expression,
ErrorNode,
SelectStatement,
InsertStatement,
UpdateStatement,
DeleteStatement,
CreateStatement,
DropStatement,
AlterStatement,
JoinClause,
GroupByClause,
HavingClause,
OrderByClause,
LimitClause,
}Variants§
Root
Identifier
Expression
ErrorNode
SelectStatement
InsertStatement
UpdateStatement
DeleteStatement
CreateStatement
DropStatement
AlterStatement
JoinClause
GroupByClause
HavingClause
OrderByClause
LimitClause
Trait Implementations§
Source§impl Clone for SqlElementType
impl Clone for SqlElementType
Source§fn clone(&self) -> SqlElementType
fn clone(&self) -> SqlElementType
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 SqlElementType
impl Debug for SqlElementType
Source§impl<'de> Deserialize<'de> for SqlElementType
impl<'de> Deserialize<'de> for SqlElementType
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 ElementType for SqlElementType
impl ElementType for SqlElementType
Source§type Role = UniversalElementRole
type Role = UniversalElementRole
The associated role type for this element kind.
Source§fn role(&self) -> UniversalElementRole
fn role(&self) -> UniversalElementRole
Returns the general syntactic role of this element. Read more
Source§fn is_role(&self, role: Self::Role) -> bool
fn is_role(&self, role: Self::Role) -> bool
Returns true if this element matches the specified language-specific role.
Source§fn is_universal(&self, role: UniversalElementRole) -> bool
fn is_universal(&self, role: UniversalElementRole) -> bool
Returns true if this element matches the specified universal role.
Source§impl From<SqlTokenType> for SqlElementType
impl From<SqlTokenType> for SqlElementType
Source§fn from(token: SqlTokenType) -> Self
fn from(token: SqlTokenType) -> Self
Converts to this type from the input type.
Source§impl Hash for SqlElementType
impl Hash for SqlElementType
Source§impl PartialEq for SqlElementType
impl PartialEq for SqlElementType
Source§impl Serialize for SqlElementType
impl Serialize for SqlElementType
impl Copy for SqlElementType
impl Eq for SqlElementType
impl StructuralPartialEq for SqlElementType
Auto Trait Implementations§
impl Freeze for SqlElementType
impl RefUnwindSafe for SqlElementType
impl Send for SqlElementType
impl Sync for SqlElementType
impl Unpin for SqlElementType
impl UnwindSafe for SqlElementType
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