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
CreateSchema
CreateRole
CreateItem
DropDatabase
Fields
name: String
DropSchema
DropRole
Fields
name: String
DropItem(GlobalId)
Tuple Fields
0: GlobalId
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
UpdateItem
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
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