[][src]Enum squawk_parser::ast::ObjectType

#[repr(u8)]pub enum ObjectType {
    AccessMethod,
    Aggregate,
    Amop,
    Amproc,
    Attribute,
    Cast,
    Column,
    Collation,
    Conversion,
    Database,
    Default,
    Defacl,
    Domain,
    Domconstraint,
    EventTrigger,
    Extension,
    Fdw,
    ForeignServer,
    ForeignTable,
    Function,
    Index,
    Language,
    Largeobject,
    Matview,
    Opclass,
    Operator,
    Opfamily,
    Policy,
    Publication,
    PublicationRel,
    Role,
    Rule,
    Schema,
    Sequence,
    Subscription,
    StatisticExt,
    TabConstraint,
    Table,
    Tablespace,
    Transform,
    Trigger,
    TsConfiguration,
    TsDictionary,
    TsParser,
    TsTemplate,
    Type,
    UserMapping,
    View,
}

When a command can act on several kinds of objects with only one parse structure required, use these constants to designate the object type. Note that commands typically don't support all the types.

Variants

AccessMethod
Aggregate
Amop
Amproc
Attribute

type's attribute, when distinct from column

Cast
Column
Collation
Conversion
Database
Default
Defacl
Domain
Domconstraint
EventTrigger
Extension
Fdw
ForeignServer
ForeignTable
Function
Index
Language
Largeobject
Matview
Opclass
Operator
Opfamily
Policy
Publication
PublicationRel
Role
Rule
Schema
Sequence
Subscription
StatisticExt
TabConstraint
Table
Tablespace
Transform
Trigger
TsConfiguration
TsDictionary
TsParser
TsTemplate
Type
UserMapping
View

Trait Implementations

impl Debug for ObjectType[src]

impl<'de> Deserialize<'de> for ObjectType[src]

impl PartialEq<ObjectType> for ObjectType[src]

impl Serialize for ObjectType[src]

impl StructuralPartialEq for ObjectType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.