#[non_exhaustive]pub enum SchemaChangeOptions {
Keyspace(String),
TableType(String, String),
FunctionAggregate(String, String, Vec<String>),
}
Expand description
Information about changes made.
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.
Keyspace(String)
Changes related to keyspaces. Contains keyspace name.
TableType(String, String)
Changes related to tables. Contains keyspace and table names.
FunctionAggregate(String, String, Vec<String>)
Changes related to functions and aggregations. Contains:
- keyspace containing the user defined function/aggregate
- the function/aggregate name
- list of strings, one string for each argument type (as CQL type)
Trait Implementations§
Source§impl Clone for SchemaChangeOptions
impl Clone for SchemaChangeOptions
Source§fn clone(&self) -> SchemaChangeOptions
fn clone(&self) -> SchemaChangeOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 SchemaChangeOptions
impl Debug for SchemaChangeOptions
Source§impl Hash for SchemaChangeOptions
impl Hash for SchemaChangeOptions
Source§impl Ord for SchemaChangeOptions
impl Ord for SchemaChangeOptions
Source§fn cmp(&self, other: &SchemaChangeOptions) -> Ordering
fn cmp(&self, other: &SchemaChangeOptions) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SchemaChangeOptions
impl PartialEq for SchemaChangeOptions
Source§impl PartialOrd for SchemaChangeOptions
impl PartialOrd for SchemaChangeOptions
Source§impl Serialize for SchemaChangeOptions
impl Serialize for SchemaChangeOptions
impl Eq for SchemaChangeOptions
impl StructuralPartialEq for SchemaChangeOptions
Auto Trait Implementations§
impl Freeze for SchemaChangeOptions
impl RefUnwindSafe for SchemaChangeOptions
impl Send for SchemaChangeOptions
impl Sync for SchemaChangeOptions
impl Unpin for SchemaChangeOptions
impl UnwindSafe for SchemaChangeOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more