[][src]Struct postgres_parser::sys::DefineStmt

#[repr(C)]pub struct DefineStmt {
    pub type_: NodeTag,
    pub kind: ObjectType,
    pub oldstyle: bool,
    pub defnames: *mut List,
    pub args: *mut List,
    pub definition: *mut List,
    pub if_not_exists: bool,
    pub replace: bool,
}

Create {Aggregate|Operator|Type} Statement

Fields

type_: NodeTagkind: ObjectTypeoldstyle: bool

aggregate, operator, type

defnames: *mut List

hack to signal old CREATE AGG syntax

args: *mut List

qualified name (list of Value strings)

definition: *mut List

a list of TypeName (if needed)

if_not_exists: bool

a list of DefElem

replace: bool

just do nothing if it already exists?

Trait Implementations

impl Debug for DefineStmt[src]

impl Default for DefineStmt[src]

impl Eq for DefineStmt[src]

impl Hash for DefineStmt[src]

impl PartialEq<DefineStmt> for DefineStmt[src]

impl StructuralEq for DefineStmt[src]

impl StructuralPartialEq for DefineStmt[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> 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.