[−][src]Enum sqlparser::sqltokenizer::Token
SQL Token enumeration
Variants
Identifier(String)
SQL identifier e.g. table or column name
Keyword(String)
SQL keyword e.g. Keyword("SELECT")
Number(String)
Numeric literal
Char(char)
A character that could not be tokenized
SingleQuotedString(String)
Single quoted string: i.e: 'string'
DoubleQuotedString(String)
Double quoted string: i.e: "string"
Comma
Comma
Whitespace(Whitespace)
Whitespace (space, tab, etc)
Eq
Equality operator =
Neq
Not Equals operator !=
or <>
Lt
Less Than operator <
Gt
Greater han operator >
LtEq
Less Than Or Equals operator <=
GtEq
Greater Than Or Equals operator >=
Plus
Plus operator +
Minus
Minus operator -
Mult
Multiplication operator *
Div
Division operator /
Mod
Modulo Operator %
LParen
Left parenthesis (
RParen
Right parenthesis )
Period
Period (used for compound identifiers or projections into nested types)
Colon
Colon :
DoubleColon
DoubleColon ::
(used for casting in postgresql)
SemiColon
SemiColon ;
used as separator for COPY and payload
Backslash
Backslash \
used in terminating the COPY payload with \.
LBracket
Left bracket [
RBracket
Right bracket ]
Ampersand
Ampersand &
LBrace
Left brace {
RBrace
Right brace }
Trait Implementations
impl PartialEq<Token> for Token
[src]
impl ToString for Token
[src]
impl Clone for Token
[src]
fn clone(&self) -> Token
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Token
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,