#[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 copy 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§fn eq(&self, other: &SchemaChangeOptions) -> bool
fn eq(&self, other: &SchemaChangeOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for SchemaChangeOptions
impl PartialOrd for SchemaChangeOptions
source§fn partial_cmp(&self, other: &SchemaChangeOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &SchemaChangeOptions) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§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> 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