pub enum SqlValue {
Null,
Bool(bool),
Int(i64),
Float(f64),
Text(String),
Bytes(Vec<u8>),
Uuid(Uuid),
Timestamp(Timestamp),
Date(Date),
DateTime(DateTime),
Json(Value),
Array(Vec<SqlValue>),
}Variants§
Null
Bool(bool)
Int(i64)
Float(f64)
Text(String)
Bytes(Vec<u8>)
Uuid(Uuid)
Timestamp(Timestamp)
Date(Date)
DateTime(DateTime)
Json(Value)
Array(Vec<SqlValue>)
Bound as one array parameter; never stored.
Implementations§
Trait Implementations§
impl StructuralPartialEq for SqlValue
Auto Trait Implementations§
impl Forget for SqlValue
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