Struct models_parser::tokenizer::Word [−][src]
Expand description
A keyword (like SELECT) or an optionally quoted SQL identifier
Fields
value: String
The value of the token, without the enclosing quotes, and with the escape sequences (if any) processed (TODO: escapes are not handled)
quote_style: Option<char>
An identifier can be “quoted” (<delimited identifier> in ANSI parlance). The standard and most implementations allow using double quotes for this, but some implementations support other quoting styles as well (e.g. [MS SQL])
keyword: Keyword
If the word was not quoted and it matched one of the known keywords, this will have one of the values from dialect::keywords, otherwise empty
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Word
impl UnwindSafe for Word
Blanket Implementations
Mutably borrows from an owned value. Read more