pub enum Value {
Binary(Vec<u8>),
Float(f64),
Integer(i64),
String(String),
Null,
}
Expand description
A value.
Variants§
Binary(Vec<u8>)
Binary data.
Float(f64)
A floating-point number.
Integer(i64)
An integer number.
String(String)
A string.
Null
A null value.
Implementations§
Trait Implementations§
source§impl BindableWithIndex for &Value
impl BindableWithIndex for &Value
source§impl BindableWithIndex for Value
impl BindableWithIndex for Value
source§impl ReadableWithIndex for Value
impl ReadableWithIndex 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 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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)