pub enum Token {
Show 58 variants
Select,
Distinct,
From,
Where,
GroupBy,
Having,
OrderBy,
Limit,
Offset,
And,
Or,
Not,
Like,
In,
Between,
As,
Asc,
Desc,
Allow,
Filtering,
Count,
Sum,
Avg,
Min,
Max,
Is,
Null,
Contains,
Key,
Equal,
NotEqual,
LessThan,
LessThanEqual,
GreaterThan,
GreaterThanEqual,
Plus,
Minus,
Multiply,
Divide,
Modulo,
Integer(i64),
Float(f64),
String(String),
Boolean(bool),
Identifier(String),
LeftParen,
RightParen,
LeftBracket,
RightBracket,
LeftBrace,
RightBrace,
Comma,
Semicolon,
Dot,
Question,
Eof,
Newline,
Whitespace,
}Expand description
Token types for CQL parsing
Variants§
Select
Distinct
From
Where
GroupBy
Having
OrderBy
Limit
Offset
And
Or
Not
Like
In
Between
As
Asc
Desc
Allow
Filtering
Count
Sum
Avg
Min
Max
Is
Null
Contains
Key
Equal
NotEqual
LessThan
LessThanEqual
GreaterThan
GreaterThanEqual
Plus
Minus
Multiply
Divide
Modulo
Integer(i64)
Float(f64)
String(String)
Boolean(bool)
Identifier(String)
LeftParen
RightParen
LeftBracket
RightBracket
LeftBrace
RightBrace
Comma
Semicolon
Dot
Question
Eof
Newline
Whitespace
Trait Implementations§
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnsafeUnpin for Token
impl UnwindSafe for Token
Blanket Implementations§
impl<T> Allocation for T
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