pub enum Value {
Null,
Bool(bool),
Int(i64),
Float(f64),
String(String),
Binary(Vec<u8>),
Vector(Vector),
Uuid(Uuid),
List(Vec<Value>),
Map(BTreeMap<String, Value>),
}Variants§
Null
Bool(bool)
Int(i64)
Float(f64)
String(String)
Binary(Vec<u8>)
Vector(Vector)
Uuid(Uuid)
List(Vec<Value>)
Map(BTreeMap<String, Value>)
Implementations§
Source§impl Value
impl Value
pub fn as_ref(&self) -> ValueRef<'_>
pub fn logical_type(&self) -> Option<LogicalType>
Trait Implementations§
impl Eq for Value
Source§impl Ord for Value
impl Ord for Value
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
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