pub enum Value {
Null,
Bool(bool),
Int64(i64),
Float64(OrderedFloat<f64>),
String(String),
Binary(Vec<u8>),
}Expand description
A value contained within a table’s cell.
One or more DataType variants may be mapped to a single variant of Value.
Variants§
Implementations§
source§impl Value
impl Value
pub fn is_true(self) -> Result<Value, ValueUnaryOpError>
pub fn is_false(self) -> Result<Value, ValueUnaryOpError>
pub fn is_null(self) -> Result<Value, ValueUnaryOpError>
pub fn is_not_null(self) -> Result<Value, ValueUnaryOpError>
pub fn like(self, rhs: Value) -> Result<Value, ValueBinaryOpError>
pub fn ilike(self, rhs: Value) -> Result<Value, ValueBinaryOpError>
Trait Implementations§
source§impl Ord for Value
impl Ord for Value
source§impl PartialEq<Value> for Value
impl PartialEq<Value> for Value
source§impl PartialOrd<Value> for Value
impl PartialOrd<Value> for Value
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more