pub struct LexicalToken {
pub token_type: TokenType,
pub value: String,
pub position: usize,
}Expand description
Represents a lexical token in the SQL query
Fields§
§token_type: TokenType§value: String§position: usizeTrait Implementations§
Source§impl Clone for LexicalToken
impl Clone for LexicalToken
Source§fn clone(&self) -> LexicalToken
fn clone(&self) -> LexicalToken
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 LexicalToken
impl Debug for LexicalToken
Source§impl PartialEq for LexicalToken
impl PartialEq for LexicalToken
impl StructuralPartialEq for LexicalToken
Auto Trait Implementations§
impl Freeze for LexicalToken
impl RefUnwindSafe for LexicalToken
impl Send for LexicalToken
impl Sync for LexicalToken
impl Unpin for LexicalToken
impl UnsafeUnpin for LexicalToken
impl UnwindSafe for LexicalToken
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