[][src]Struct postgres_parser::nodes::InsertStmt

pub struct InsertStmt {
    pub relation: Option<Box<RangeVar>>,
    pub cols: Option<Vec<Node>>,
    pub selectStmt: Option<Box<Node>>,
    pub onConflictClause: Option<Box<OnConflictClause>>,
    pub returningList: Option<Vec<Node>>,
    pub withClause: Option<Box<WithClause>>,
    pub override_: OverridingKind,
}

Insert Statement

The source expression is represented by SelectStmt for both the SELECT and VALUES cases. If selectStmt is NULL, then the query is INSERT ... DEFAULT VALUES.

Fields

relation: Option<Box<RangeVar>>cols: Option<Vec<Node>>selectStmt: Option<Box<Node>>onConflictClause: Option<Box<OnConflictClause>>returningList: Option<Vec<Node>>withClause: Option<Box<WithClause>>override_: OverridingKind

Trait Implementations

impl Debug for InsertStmt[src]

impl<'de> Deserialize<'de> for InsertStmt[src]

impl Eq for InsertStmt[src]

impl PartialEq<InsertStmt> for InsertStmt[src]

impl Serialize for InsertStmt[src]

impl StructuralEq for InsertStmt[src]

impl StructuralPartialEq for InsertStmt[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.