#[non_exhaustive]pub enum ColumnRole {
PartitionKey,
ClusteringKey,
Regular,
}Expand description
The role of a column in the primary key.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PartitionKey
Part of the partition key.
ClusteringKey
A clustering column.
Regular
Not part of the primary key.
Trait Implementations§
Source§impl Clone for ColumnRole
impl Clone for ColumnRole
impl Copy for ColumnRole
Source§impl Debug for ColumnRole
impl Debug for ColumnRole
impl Eq for ColumnRole
Source§impl PartialEq for ColumnRole
impl PartialEq for ColumnRole
impl StructuralPartialEq for ColumnRole
Auto Trait Implementations§
impl Freeze for ColumnRole
impl RefUnwindSafe for ColumnRole
impl Send for ColumnRole
impl Sync for ColumnRole
impl Unpin for ColumnRole
impl UnsafeUnpin for ColumnRole
impl UnwindSafe for ColumnRole
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