pub enum Literal {
Numeric(Box<str>),
String(Box<str>),
Blob(Box<str>),
Keyword(Box<str>),
Null,
CurrentDate,
CurrentTime,
CurrentTimestamp,
}
Expand description
SQL literal
Variants§
Numeric(Box<str>)
Number
String(Box<str>)
String
Blob(Box<str>)
BLOB
Keyword(Box<str>)
Keyword
Null
NULL
CurrentDate
CURRENT_DATE
CurrentTime
CURRENT_TIME
CurrentTimestamp
CURRENT_TIMESTAMP
Implementations§
Trait Implementations§
impl Eq for Literal
impl StructuralPartialEq for Literal
Auto Trait Implementations§
impl Freeze for Literal
impl RefUnwindSafe for Literal
impl Send for Literal
impl Sync for Literal
impl Unpin for Literal
impl UnwindSafe for Literal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.