[−][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_: NodeTag
relation: *mut RangeVar
tableElts: *mut List
relation to create
inhRelations: *mut List
column definitions (list of ColumnDef)
partbound: *mut PartitionBoundSpec
relations to inherit from (list of inhRelation)
partspec: *mut PartitionSpec
FOR VALUES clause
ofTypename: *mut TypeName
PARTITION BY clause
constraints: *mut List
OF typename
options: *mut List
constraints (list of Constraint nodes)
oncommit: OnCommitAction
options from WITH clause
tablespacename: *mut c_char
what do we do at COMMIT?
accessMethod: *mut c_char
table space to use, or NULL
if_not_exists: bool
table 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>,