[][src]Struct postgres_parser::nodes::CopyStmt

pub struct CopyStmt {
    pub relation: Option<Box<RangeVar>>,
    pub query: Option<Box<Node>>,
    pub attlist: Option<Vec<Node>>,
    pub is_from: bool,
    pub is_program: bool,
    pub filename: Option<String>,
    pub options: Option<Vec<Node>>,
    pub whereClause: Option<Box<Node>>,
}

Copy Statement

We support "COPY relation FROM file", "COPY relation TO file", and "COPY (query) TO file". In any given CopyStmt, exactly one of "relation" and "query" must be nonNULL.

Fields

relation: Option<Box<RangeVar>>query: Option<Box<Node>>attlist: Option<Vec<Node>>is_from: boolis_program: boolfilename: Option<String>options: Option<Vec<Node>>whereClause: Option<Box<Node>>

Trait Implementations

impl Debug for CopyStmt[src]

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

impl Eq for CopyStmt[src]

impl PartialEq<CopyStmt> for CopyStmt[src]

impl Serialize for CopyStmt[src]

impl StructuralEq for CopyStmt[src]

impl StructuralPartialEq for CopyStmt[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.