pub enum SqlLiteral {
Bool(bool),
Hex(Box<str>),
Num(Box<str>),
Str(Box<str>),
}Expand description
A SQL constant expression
Variants§
Bool(bool)
A boolean constant
Hex(Box<str>)
A hex value like 0xFF or x’FF’
Num(Box<str>)
An integer or float value
Str(Box<str>)
A string value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SqlLiteral
impl RefUnwindSafe for SqlLiteral
impl Send for SqlLiteral
impl Sync for SqlLiteral
impl Unpin for SqlLiteral
impl UnwindSafe for SqlLiteral
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