pub enum Value {
Null,
Int(i64),
Decimal {
value: i128,
scale: u32,
},
Double(f64),
Char(String),
Binary(Vec<u8>),
}Expand description
A value at the database boundary.
Variants§
Null
Int(i64)
Decimal
The unscaled value and its decimal places.
Double(f64)
Char(String)
Binary(Vec<u8>)
Implementations§
Trait Implementations§
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