[][src]Struct postgres_parser::sys::AlterTableCmd

#[repr(C)]pub struct AlterTableCmd {
    pub type_: NodeTag,
    pub subtype: AlterTableType,
    pub name: *mut c_char,
    pub num: int16,
    pub newowner: *mut RoleSpec,
    pub def: *mut Node,
    pub behavior: DropBehavior,
    pub missing_ok: bool,
}

Fields

type_: NodeTagsubtype: AlterTableTypename: *mut c_char

Type of table alteration to apply

num: int16

column, constraint, or trigger to act on, or tablespace

newowner: *mut RoleSpec

attribute number for columns referenced by number

def: *mut Nodebehavior: DropBehavior

definition of new column, index, constraint, or parent table

missing_ok: bool

RESTRICT or CASCADE for DROP cases

Trait Implementations

impl Debug for AlterTableCmd[src]

impl Default for AlterTableCmd[src]

impl Eq for AlterTableCmd[src]

impl Hash for AlterTableCmd[src]

impl PartialEq<AlterTableCmd> for AlterTableCmd[src]

impl StructuralEq for AlterTableCmd[src]

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