pub enum SchemaChangeOptions {
Keyspace(String),
TableType(String, String),
FunctionAggregate(String, String, Vec<String>),
}
Expand description
Information about changes made.
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
sourceimpl Clone for SchemaChangeOptions
impl Clone for SchemaChangeOptions
sourcefn clone(&self) -> SchemaChangeOptions
fn clone(&self) -> SchemaChangeOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SchemaChangeOptions
impl Debug for SchemaChangeOptions
sourceimpl Hash for SchemaChangeOptions
impl Hash for SchemaChangeOptions
sourceimpl Ord for SchemaChangeOptions
impl Ord for SchemaChangeOptions
sourcefn cmp(&self, other: &SchemaChangeOptions) -> Ordering
fn cmp(&self, other: &SchemaChangeOptions) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SchemaChangeOptions> for SchemaChangeOptions
impl PartialEq<SchemaChangeOptions> for SchemaChangeOptions
sourcefn eq(&self, other: &SchemaChangeOptions) -> bool
fn eq(&self, other: &SchemaChangeOptions) -> bool
sourceimpl PartialOrd<SchemaChangeOptions> for SchemaChangeOptions
impl PartialOrd<SchemaChangeOptions> for SchemaChangeOptions
sourcefn partial_cmp(&self, other: &SchemaChangeOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &SchemaChangeOptions) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Serialize for SchemaChangeOptions
impl Serialize for SchemaChangeOptions
impl Eq for SchemaChangeOptions
impl StructuralEq for SchemaChangeOptions
impl StructuralPartialEq for SchemaChangeOptions
Auto Trait Implementations
impl RefUnwindSafe for SchemaChangeOptions
impl Send for SchemaChangeOptions
impl Sync for SchemaChangeOptions
impl Unpin for SchemaChangeOptions
impl UnwindSafe for SchemaChangeOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more