Enum rustdb::value::Value [−][src]
pub enum Value {
None,
RcBinary(Rc<Vec<u8>>),
ArcBinary(Arc<Vec<u8>>),
String(Rc<String>),
Int(i64),
Float(f64),
Bool(bool),
For(Rc<RefCell<ForState>>),
ForSort(Rc<RefCell<ForSortState>>),
}
Variants
None
RcBinary(Rc<Vec<u8>>)
ArcBinary(Arc<Vec<u8>>)
String(Rc<String>)
Int(i64)
Tuple Fields
0: i64
Float(f64)
Tuple Fields
0: f64
Bool(bool)
Tuple Fields
0: bool
For(Rc<RefCell<ForState>>)
ForSort(Rc<RefCell<ForSortState>>)
Tuple Fields
0: Rc<RefCell<ForSortState>>
Implementations
Get a Value from byte data.
Save a Value to byte data.
Trait Implementations
Value comparison.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Value
impl !UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more