Struct pgx_pg_sys::AlterTableCmd
source · [−]#[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_: NodeTag
subtype: AlterTableType
name: *mut c_char
num: int16
newowner: *mut RoleSpec
def: *mut Node
behavior: DropBehavior
missing_ok: bool
Trait Implementations
sourceimpl Clone for AlterTableCmd
impl Clone for AlterTableCmd
sourcefn clone(&self) -> AlterTableCmd
fn clone(&self) -> AlterTableCmd
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AlterTableCmd
impl Debug for AlterTableCmd
sourceimpl Default for AlterTableCmd
impl Default for AlterTableCmd
sourceimpl Display for AlterTableCmd
impl Display for AlterTableCmd
sourceimpl PgNode for AlterTableCmd
impl PgNode for AlterTableCmd
type NodeType = AlterTableCmd
sourcefn as_node_ptr(&self) -> *mut Self::NodeType
fn as_node_ptr(&self) -> *mut Self::NodeType
Represent this node as a mutable pointer of its type
impl Copy for AlterTableCmd
Auto Trait Implementations
impl RefUnwindSafe for AlterTableCmd
impl !Send for AlterTableCmd
impl !Sync for AlterTableCmd
impl Unpin for AlterTableCmd
impl UnwindSafe for AlterTableCmd
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more