pub enum ColumnValue {
Null,
Integer(i64),
Double(f64),
Boolean(bool),
String(String),
Blob(Vec<u8>),
InfMin,
InfMax,
}
Variants§
Null
这个值是内部使用的,仅仅是用来标记在 UpdateRow 的时候要标记删除某个列的所有版本使用的。
Integer(i64)
Double(f64)
Boolean(bool)
String(String)
Blob(Vec<u8>)
InfMin
InfMax
Trait Implementations§
Source§impl Clone for ColumnValue
impl Clone for ColumnValue
Source§fn clone(&self) -> ColumnValue
fn clone(&self) -> ColumnValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ColumnValue
impl Debug for ColumnValue
Source§impl Default for ColumnValue
impl Default for ColumnValue
Source§fn default() -> ColumnValue
fn default() -> ColumnValue
Returns the “default value” for a type. Read more
Source§impl From<&ColumnValue> for DataType
这里没有处理 MIN 和 MAX 的数据…
impl From<&ColumnValue> for DataType
这里没有处理 MIN 和 MAX 的数据…
Source§fn from(value: &ColumnValue) -> Self
fn from(value: &ColumnValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ColumnValue
impl PartialEq for ColumnValue
Source§impl PartialOrd for ColumnValue
impl PartialOrd for ColumnValue
impl StructuralPartialEq for ColumnValue
Auto Trait Implementations§
impl Freeze for ColumnValue
impl RefUnwindSafe for ColumnValue
impl Send for ColumnValue
impl Sync for ColumnValue
impl Unpin for ColumnValue
impl UnwindSafe for ColumnValue
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