Enum sql::catalog::CatalogItemType [−][src]
pub enum CatalogItemType {
Table,
Source,
Sink,
View,
Index,
Type,
Func,
}
Expand description
The type of a CatalogItem
.
Variants
Table
A table.
Source
A source.
Sink
A sink.
View
A view.
Index
An index.
Type
A type.
Func
A func.
Trait Implementations
Whether a SQL object type can be interpreted as matching the type of the given catalog item.
For example, if v
is a view, DROP SOURCE v
should not work, since Source and View
are non-matching types.
For now tables are treated as a special kind of source in Materialize, so just
allow TABLE
to refer to either.
Auto Trait Implementations
impl RefUnwindSafe for CatalogItemType
impl Send for CatalogItemType
impl Sync for CatalogItemType
impl Unpin for CatalogItemType
impl UnwindSafe for CatalogItemType
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Compare self to key
and return true
if they are equal.
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