pub enum SqlValue {
String(String),
Int(i64),
Float(f64),
Bool(bool),
Expression(String),
}Expand description
SQL binding value — database-agnostic representation.
Variants§
String(String)
Int(i64)
Float(f64)
Bool(bool)
Expression(String)
Raw SQL expression (not parameterized). Used for now() - INTERVAL ... etc.
Trait Implementations§
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