pub enum SqlValue {
Null,
Integer(i64),
Text(String),
Blob(Vec<u8>),
}Expand description
A bound parameter or a result column: the four storage classes both
rusqlite and Durable Object SQL bind (no REAL).
Variants§
Null
NULL.
Integer(i64)
A 64-bit signed integer.
Text(String)
UTF-8 text.
Blob(Vec<u8>)
Raw bytes. Blobs compare by memcmp, then length: raw byte order.
Trait Implementations§
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