pub enum Keyword {
Null,
True,
False,
Default,
CurrentTimestamp,
CurrentDate,
CurrentTime,
}Expand description
SQL keywords that can appear as constants.
Variants§
Null
SQL NULL
True
SQL TRUE
False
SQL FALSE
Default
SQL DEFAULT
CurrentTimestamp
SQL CURRENT_TIMESTAMP
CurrentDate
SQL CURRENT_DATE
CurrentTime
SQL CURRENT_TIME
Implementations§
Trait Implementations§
Source§impl From<Keyword> for SimpleExpr
impl From<Keyword> for SimpleExpr
impl Copy for Keyword
impl Eq for Keyword
impl StructuralPartialEq for Keyword
Auto Trait Implementations§
impl Freeze for Keyword
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnsafeUnpin for Keyword
impl UnwindSafe for Keyword
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