#[non_exhaustive]pub enum Mod {
Create(Box<ColumnFamily>),
Update(Box<ColumnFamily>),
Drop(bool),
}Expand description
Column family modifications.
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.
Create(Box<ColumnFamily>)
Create a new column family with the specified schema, or fail if one already exists with the given ID.
Update(Box<ColumnFamily>)
Update an existing column family to the specified schema, or fail if no column family exists with the given ID.
Drop(bool)
Drop (delete) the column family with the given ID, or fail if no such family exists.
Trait Implementations§
impl StructuralPartialEq for Mod
Auto Trait Implementations§
impl Freeze for Mod
impl RefUnwindSafe for Mod
impl Send for Mod
impl Sync for Mod
impl Unpin for Mod
impl UnwindSafe for Mod
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