[−][src]Struct postgres_parser::sys::CreateStmt
Create Table Statement
NOTE: in the raw gram.y output, ColumnDef and Constraint nodes are intermixed in tableElts, and constraints is NIL. After parse analysis, tableElts contains just ColumnDefs, and constraints contains just Constraint nodes (in fact, only CONSTR_CHECK nodes, in the present implementation).
Fields
type_: NodeTagrelation: *mut RangeVartableElts: *mut Listrelation to create
inhRelations: *mut Listcolumn definitions (list of ColumnDef)
partbound: *mut PartitionBoundSpecrelations to inherit from (list of inhRelation)
partspec: *mut PartitionSpecFOR VALUES clause
ofTypename: *mut TypeNamePARTITION BY clause
constraints: *mut ListOF typename
options: *mut Listconstraints (list of Constraint nodes)
oncommit: OnCommitActionoptions from WITH clause
tablespacename: *mut c_charwhat do we do at COMMIT?
accessMethod: *mut c_chartable space to use, or NULL
if_not_exists: booltable access method
Trait Implementations
impl Debug for CreateStmt[src]
impl Default for CreateStmt[src]
impl Eq for CreateStmt[src]
impl Hash for CreateStmt[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<CreateStmt> for CreateStmt[src]
fn eq(&self, other: &CreateStmt) -> bool[src]
fn ne(&self, other: &CreateStmt) -> bool[src]
impl StructuralEq for CreateStmt[src]
impl StructuralPartialEq for CreateStmt[src]
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
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,