Enum sql::ast::ObjectType [−][src]
pub enum ObjectType {
Schema,
Table,
View,
Source,
Sink,
Index,
Type,
Role,
Object,
}
Variants
Schema
Table
View
Source
Sink
Index
Type
Role
Object
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 ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
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