Enum scylla::frame::response::event::SchemaChangeEvent[][src]

pub enum SchemaChangeEvent {
    KeyspaceChange {
        change_type: SchemaChangeType,
        keyspace_name: String,
    },
    TableChange {
        change_type: SchemaChangeType,
        keyspace_name: String,
        object_name: String,
    },
    TypeChange {
        change_type: SchemaChangeType,
        keyspace_name: String,
        type_name: String,
    },
    FunctionChange {
        change_type: SchemaChangeType,
        keyspace_name: String,
        function_name: String,
        arguments: Vec<String>,
    },
    AggregateChange {
        change_type: SchemaChangeType,
        keyspace_name: String,
        aggregate_name: String,
        arguments: Vec<String>,
    },
}

Variants

KeyspaceChange

Fields of KeyspaceChange

change_type: SchemaChangeTypekeyspace_name: String
TableChange

Fields of TableChange

change_type: SchemaChangeTypekeyspace_name: Stringobject_name: String
TypeChange

Fields of TypeChange

change_type: SchemaChangeTypekeyspace_name: Stringtype_name: String
FunctionChange

Fields of FunctionChange

change_type: SchemaChangeTypekeyspace_name: Stringfunction_name: Stringarguments: Vec<String>
AggregateChange

Fields of AggregateChange

change_type: SchemaChangeTypekeyspace_name: Stringaggregate_name: Stringarguments: Vec<String>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more