[−][src]Struct postgres_parser::nodes::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
relation: Option<Box<RangeVar>>
tableElts: Option<Vec<Node>>
inhRelations: Option<Vec<Node>>
partbound: Option<Box<PartitionBoundSpec>>
partspec: Option<Box<PartitionSpec>>
ofTypename: Option<Box<TypeName>>
constraints: Option<Vec<Node>>
options: Option<Vec<Node>>
oncommit: OnCommitAction
tablespacename: Option<String>
accessMethod: Option<String>
if_not_exists: bool
Trait Implementations
impl Debug for CreateStmt
[src]
impl<'de> Deserialize<'de> for CreateStmt
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for CreateStmt
[src]
impl PartialEq<CreateStmt> for CreateStmt
[src]
fn eq(&self, other: &CreateStmt) -> bool
[src]
fn ne(&self, other: &CreateStmt) -> bool
[src]
impl Serialize for CreateStmt
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,