pub enum Value {
Null,
Integer(i64),
Real(u64),
Text(String),
Blob(Vec<u8>),
}Expand description
A SQLite value. Real numbers use IEEE 754 bits; NaNs and negative zero are refused so each numeric value has one representation. Infinities are allowed.
Variants§
Null
SQL NULL.
Integer(i64)
A signed 64-bit integer.
Real(u64)
A double’s bits, encoded big-endian.
Text(String)
UTF-8 text, without Unicode normalization.
Blob(Vec<u8>)
Bytes, including an empty blob.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more