pub enum Value {
Integer(i64),
Text(String),
Real(f64),
Bool(bool),
Null,
}Expand description
Runtime value produced by query execution. Separate from the on-disk Row enum
so the executor can carry typed values (including NULL) across operators.
Variants§
Implementations§
Trait Implementations§
Source§impl FromValue for Value
Identity impl so row.get::<_, Value>(0) works when you want
untyped access.
impl FromValue for Value
Identity impl so row.get::<_, Value>(0) works when you want
untyped access.
fn from_value(v: &Value) -> Result<Self>
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