[][src]Enum postgres_parser::sys::ObjectType

#[repr(u32)]pub enum ObjectType {
    OBJECT_ACCESS_METHOD,
    OBJECT_AGGREGATE,
    OBJECT_AMOP,
    OBJECT_AMPROC,
    OBJECT_ATTRIBUTE,
    OBJECT_CAST,
    OBJECT_COLUMN,
    OBJECT_COLLATION,
    OBJECT_CONVERSION,
    OBJECT_DATABASE,
    OBJECT_DEFAULT,
    OBJECT_DEFACL,
    OBJECT_DOMAIN,
    OBJECT_DOMCONSTRAINT,
    OBJECT_EVENT_TRIGGER,
    OBJECT_EXTENSION,
    OBJECT_FDW,
    OBJECT_FOREIGN_SERVER,
    OBJECT_FOREIGN_TABLE,
    OBJECT_FUNCTION,
    OBJECT_INDEX,
    OBJECT_LANGUAGE,
    OBJECT_LARGEOBJECT,
    OBJECT_MATVIEW,
    OBJECT_OPCLASS,
    OBJECT_OPERATOR,
    OBJECT_OPFAMILY,
    OBJECT_POLICY,
    OBJECT_PROCEDURE,
    OBJECT_PUBLICATION,
    OBJECT_PUBLICATION_REL,
    OBJECT_ROLE,
    OBJECT_ROUTINE,
    OBJECT_RULE,
    OBJECT_SCHEMA,
    OBJECT_SEQUENCE,
    OBJECT_SUBSCRIPTION,
    OBJECT_STATISTIC_EXT,
    OBJECT_TABCONSTRAINT,
    OBJECT_TABLE,
    OBJECT_TABLESPACE,
    OBJECT_TRANSFORM,
    OBJECT_TRIGGER,
    OBJECT_TSCONFIGURATION,
    OBJECT_TSDICTIONARY,
    OBJECT_TSPARSER,
    OBJECT_TSTEMPLATE,
    OBJECT_TYPE,
    OBJECT_USER_MAPPING,
    OBJECT_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

OBJECT_ACCESS_METHOD
OBJECT_AGGREGATE
OBJECT_AMOP
OBJECT_AMPROC
OBJECT_ATTRIBUTE
OBJECT_CAST

type's attribute, when distinct from column

OBJECT_COLUMN

type's attribute, when distinct from column

OBJECT_COLLATION

type's attribute, when distinct from column

OBJECT_CONVERSION

type's attribute, when distinct from column

OBJECT_DATABASE

type's attribute, when distinct from column

OBJECT_DEFAULT

type's attribute, when distinct from column

OBJECT_DEFACL

type's attribute, when distinct from column

OBJECT_DOMAIN

type's attribute, when distinct from column

OBJECT_DOMCONSTRAINT

type's attribute, when distinct from column

OBJECT_EVENT_TRIGGER

type's attribute, when distinct from column

OBJECT_EXTENSION

type's attribute, when distinct from column

OBJECT_FDW

type's attribute, when distinct from column

OBJECT_FOREIGN_SERVER

type's attribute, when distinct from column

OBJECT_FOREIGN_TABLE

type's attribute, when distinct from column

OBJECT_FUNCTION

type's attribute, when distinct from column

OBJECT_INDEX

type's attribute, when distinct from column

OBJECT_LANGUAGE

type's attribute, when distinct from column

OBJECT_LARGEOBJECT

type's attribute, when distinct from column

OBJECT_MATVIEW

type's attribute, when distinct from column

OBJECT_OPCLASS

type's attribute, when distinct from column

OBJECT_OPERATOR

type's attribute, when distinct from column

OBJECT_OPFAMILY

type's attribute, when distinct from column

OBJECT_POLICY

type's attribute, when distinct from column

OBJECT_PROCEDURE

type's attribute, when distinct from column

OBJECT_PUBLICATION

type's attribute, when distinct from column

OBJECT_PUBLICATION_REL

type's attribute, when distinct from column

OBJECT_ROLE

type's attribute, when distinct from column

OBJECT_ROUTINE

type's attribute, when distinct from column

OBJECT_RULE

type's attribute, when distinct from column

OBJECT_SCHEMA

type's attribute, when distinct from column

OBJECT_SEQUENCE

type's attribute, when distinct from column

OBJECT_SUBSCRIPTION

type's attribute, when distinct from column

OBJECT_STATISTIC_EXT

type's attribute, when distinct from column

OBJECT_TABCONSTRAINT

type's attribute, when distinct from column

OBJECT_TABLE

type's attribute, when distinct from column

OBJECT_TABLESPACE

type's attribute, when distinct from column

OBJECT_TRANSFORM

type's attribute, when distinct from column

OBJECT_TRIGGER

type's attribute, when distinct from column

OBJECT_TSCONFIGURATION

type's attribute, when distinct from column

OBJECT_TSDICTIONARY

type's attribute, when distinct from column

OBJECT_TSPARSER

type's attribute, when distinct from column

OBJECT_TSTEMPLATE

type's attribute, when distinct from column

OBJECT_TYPE

type's attribute, when distinct from column

OBJECT_USER_MAPPING

type's attribute, when distinct from column

OBJECT_VIEW

type's attribute, when distinct from column

Trait Implementations

impl Clone for ObjectType[src]

impl Copy for ObjectType[src]

impl Debug for ObjectType[src]

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

impl Eq for ObjectType[src]

impl Hash for ObjectType[src]

impl PartialEq<ObjectType> for ObjectType[src]

impl Serialize for ObjectType[src]

impl StructuralEq 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.