pub enum SqlValue {
CurrentDate,
CurrentTime(Option<i32>),
CurrentTimestamp(Option<i32>),
LocalTime(Option<i32>),
LocalTimestamp(Option<i32>),
CurrentRole,
CurrentUser,
User,
SessionUser,
CurrentCatalog,
CurrentSchema,
}Expand description
The functions of the SQL standard that take no parentheses.
Variants§
CurrentDate
CurrentTime(Option<i32>)
CURRENT_TIME, with the precision if the query gives one.
CurrentTimestamp(Option<i32>)
LocalTime(Option<i32>)
LocalTimestamp(Option<i32>)
CurrentRole
CurrentUser
User
SessionUser
CurrentCatalog
CurrentSchema
Trait Implementations§
impl Copy for SqlValue
impl Eq for SqlValue
impl StructuralPartialEq for SqlValue
Auto Trait Implementations§
impl Freeze for SqlValue
impl RefUnwindSafe for SqlValue
impl Send for SqlValue
impl Sync for SqlValue
impl Unpin for SqlValue
impl UnsafeUnpin for SqlValue
impl UnwindSafe for SqlValue
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