pub enum ClusteringBound {
Inclusive(ClusteringKey),
Exclusive(ClusteringKey),
Bottom,
Top,
}Expand description
Clustering key bound for range tombstones
Defines the boundary of a range deletion. Can be inclusive or exclusive, or represent the minimum/maximum possible clustering key.
Variants§
Inclusive(ClusteringKey)
Inclusive bound (clustering key is part of the deletion range)
Exclusive(ClusteringKey)
Exclusive bound (clustering key is NOT part of the deletion range)
Bottom
Before all clustering keys (start of partition)
Top
After all clustering keys (end of partition)
Trait Implementations§
Source§impl Clone for ClusteringBound
impl Clone for ClusteringBound
Source§fn clone(&self) -> ClusteringBound
fn clone(&self) -> ClusteringBound
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 ClusteringBound
impl Debug for ClusteringBound
Source§impl<'de> Deserialize<'de> for ClusteringBound
impl<'de> Deserialize<'de> for ClusteringBound
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ClusteringBound
impl PartialEq for ClusteringBound
Source§fn eq(&self, other: &ClusteringBound) -> bool
fn eq(&self, other: &ClusteringBound) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClusteringBound
impl Serialize for ClusteringBound
impl StructuralPartialEq for ClusteringBound
Auto Trait Implementations§
impl Freeze for ClusteringBound
impl RefUnwindSafe for ClusteringBound
impl Send for ClusteringBound
impl Sync for ClusteringBound
impl Unpin for ClusteringBound
impl UnsafeUnpin for ClusteringBound
impl UnwindSafe for ClusteringBound
Blanket Implementations§
impl<T> Allocation for T
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