#[repr(C, u8)]pub enum DbValue {
Null,
Integer(i64),
Real(f64),
Text(AzString),
Blob(U8Vec),
}Expand description
A single SQL value — a bound statement parameter or a result cell. Mirrors SQLite’s storage classes (Null / Integer / Real / Text / Blob) but names nothing engine-specific.
Variants§
Null
SQL NULL.
Integer(i64)
64-bit signed integer.
Real(f64)
64-bit IEEE float.
Text(AzString)
UTF-8 text.
Blob(U8Vec)
Raw bytes.
Implementations§
Trait Implementations§
Source§impl FromIterator<DbValue> for DbValueVec
impl FromIterator<DbValue> for DbValueVec
impl StructuralPartialEq for DbValue
Auto Trait Implementations§
impl Freeze for DbValue
impl RefUnwindSafe for DbValue
impl Send for DbValue
impl Sync for DbValue
impl Unpin for DbValue
impl UnsafeUnpin for DbValue
impl UnwindSafe for DbValue
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