pub enum Value {
Integer(i64),
Blob(Vec<u8>),
Text(String),
Null,
}Expand description
A value that can be bound to a prepared statement parameter or read from a result column.
Variants§
Integer(i64)
64-bit signed integer.
Blob(Vec<u8>)
Binary blob.
Text(String)
UTF-8 text.
Null
SQL NULL.
Trait Implementations§
impl Eq for Value
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