[][src]Struct postgres_parser::sys::AlterDomainStmt

#[repr(C)]pub struct AlterDomainStmt {
    pub type_: NodeTag,
    pub subtype: c_char,
    pub typeName: *mut List,
    pub name: *mut c_char,
    pub def: *mut Node,
    pub behavior: DropBehavior,
    pub missing_ok: bool,
}

Alter Domain

The fields are used in different ways by the different variants of this command.

Fields

type_: NodeTagsubtype: c_chartypeName: *mut List

T = alter column default N = alter column drop not null O = alter column set not null C = add constraint X = drop constraint

name: *mut c_char

domain to work on

def: *mut Node

column or constraint name to act on

behavior: DropBehavior

definition of default or constraint

missing_ok: bool

RESTRICT or CASCADE for DROP cases

Trait Implementations

impl Debug for AlterDomainStmt[src]

impl Default for AlterDomainStmt[src]

impl Eq for AlterDomainStmt[src]

impl Hash for AlterDomainStmt[src]

impl PartialEq<AlterDomainStmt> for AlterDomainStmt[src]

impl StructuralEq for AlterDomainStmt[src]

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