Struct pgx_pg_sys::CreateStmt
source · [−]#[repr(C)]pub struct CreateStmt {Show 13 fields
pub type_: NodeTag,
pub relation: *mut RangeVar,
pub tableElts: *mut List,
pub inhRelations: *mut List,
pub partbound: *mut PartitionBoundSpec,
pub partspec: *mut PartitionSpec,
pub ofTypename: *mut TypeName,
pub constraints: *mut List,
pub options: *mut List,
pub oncommit: OnCommitAction,
pub tablespacename: *mut c_char,
pub accessMethod: *mut c_char,
pub if_not_exists: bool,
}
Fields
type_: NodeTag
relation: *mut RangeVar
tableElts: *mut List
inhRelations: *mut List
partbound: *mut PartitionBoundSpec
partspec: *mut PartitionSpec
ofTypename: *mut TypeName
constraints: *mut List
options: *mut List
oncommit: OnCommitAction
tablespacename: *mut c_char
accessMethod: *mut c_char
if_not_exists: bool
Trait Implementations
sourceimpl Clone for CreateStmt
impl Clone for CreateStmt
sourcefn clone(&self) -> CreateStmt
fn clone(&self) -> CreateStmt
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 CreateStmt
impl Debug for CreateStmt
sourceimpl Default for CreateStmt
impl Default for CreateStmt
sourceimpl Display for CreateStmt
impl Display for CreateStmt
sourceimpl PgNode for CreateStmt
impl PgNode for CreateStmt
type NodeType = CreateStmt
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 CreateStmt
Auto Trait Implementations
impl RefUnwindSafe for CreateStmt
impl !Send for CreateStmt
impl !Sync for CreateStmt
impl Unpin for CreateStmt
impl UnwindSafe for CreateStmt
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