pub enum PartitionValue {
Null,
Int64(i64),
Float32(u32),
Float64(u64),
Bool(bool),
Binary(Vec<u8>),
Fixed(Vec<u8>),
}Expand description
A typed value used to compare partition keys.
Variants§
Null
SQL-style NULL key component.
Int64(i64)
Signed 64-bit integer key component.
Float32(u32)
32-bit floating-point key component, stored by raw bits for total equality.
Float64(u64)
64-bit floating-point key component, stored by raw bits for total equality.
Bool(bool)
Boolean key component.
Binary(Vec<u8>)
Variable-length binary key component.
Fixed(Vec<u8>)
Fixed-length binary key component.
Trait Implementations§
Source§impl Clone for PartitionValue
impl Clone for PartitionValue
Source§fn clone(&self) -> PartitionValue
fn clone(&self) -> PartitionValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PartitionValue
impl Debug for PartitionValue
impl Eq for PartitionValue
Source§impl Hash for PartitionValue
impl Hash for PartitionValue
Source§impl PartialEq for PartitionValue
impl PartialEq for PartitionValue
impl StructuralPartialEq for PartitionValue
Auto Trait Implementations§
impl Freeze for PartitionValue
impl RefUnwindSafe for PartitionValue
impl Send for PartitionValue
impl Sync for PartitionValue
impl Unpin for PartitionValue
impl UnsafeUnpin for PartitionValue
impl UnwindSafe for PartitionValue
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