pub enum Value {
Null,
Integer(i64),
Float(f64),
Text(String),
BlobBase64(String),
}Expand description
Logical value type used for SQL parameters and decoded rows.
Variants§
Null
SQL null.
Integer(i64)
Signed integer.
Float(f64)
Floating-point number (must be finite).
Text(String)
UTF-8 text.
BlobBase64(String)
Base64-encoded binary payload.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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