Enum coord::catalog::Op[][src]

pub enum Op {
    CreateDatabase {
        name: String,
        oid: u32,
    },
    CreateSchema {
        database_name: DatabaseSpecifier,
        schema_name: String,
        oid: u32,
    },
    CreateRole {
        name: String,
        oid: u32,
    },
    CreateItem {
        id: GlobalId,
        oid: u32,
        name: FullName,
        item: CatalogItem,
    },
    DropDatabase {
        name: String,
    },
    DropSchema {
        database_name: DatabaseSpecifier,
        schema_name: String,
    },
    DropRole {
        name: String,
    },
    DropItem(GlobalId),
    RenameItem {
        id: GlobalId,
        to_name: String,
    },
    UpdateItem {
        id: GlobalId,
        to_item: CatalogItem,
    },
}

Variants

CreateDatabase

Fields

name: String
oid: u32

CreateSchema

Fields

database_name: DatabaseSpecifier
schema_name: String
oid: u32

CreateRole

Fields

name: String
oid: u32

CreateItem

Fields

oid: u32
name: FullName

DropDatabase

Fields

name: String

DropSchema

Fields

database_name: DatabaseSpecifier
schema_name: String

DropRole

Fields

name: String

DropItem(GlobalId)

Tuple Fields

Unconditionally removes the identified items. It is required that the IDs come from the output of plan_remove; otherwise consistency rules may be violated.

RenameItem

Fields

to_name: String

UpdateItem

Fields

to_item: CatalogItem

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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.

Upcasts this ProgressEventTimestamp to Any. Read more

Returns the name of the concrete type of this object. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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