[][src]Struct postgres_parser::sys::RenameStmt

#[repr(C)]pub struct RenameStmt {
    pub type_: NodeTag,
    pub renameType: ObjectType,
    pub relationType: ObjectType,
    pub relation: *mut RangeVar,
    pub object: *mut Node,
    pub subname: *mut c_char,
    pub newname: *mut c_char,
    pub behavior: DropBehavior,
    pub missing_ok: bool,
}

Alter Object Rename Statement

Fields

type_: NodeTagrenameType: ObjectTyperelationType: ObjectType

OBJECT_TABLE, OBJECT_COLUMN, etc

relation: *mut RangeVar

if column name, associated relation type

object: *mut Node

in case it's a table

subname: *mut c_char

in case it's some other object

newname: *mut c_char

name of contained object (column, rule, trigger, etc)

behavior: DropBehavior

the new name

missing_ok: bool

RESTRICT or CASCADE behavior

Trait Implementations

impl Debug for RenameStmt[src]

impl Default for RenameStmt[src]

impl Eq for RenameStmt[src]

impl Hash for RenameStmt[src]

impl PartialEq<RenameStmt> for RenameStmt[src]

impl StructuralEq for RenameStmt[src]

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