[][src]Struct postgres_parser::nodes::RawStmt

pub struct RawStmt {
    pub stmt: Option<Box<Node>>,
    pub stmt_location: i32,
    pub stmt_len: i32,
}

RawStmt container for any one statement's raw parse tree

Parse analysis converts a raw parse tree headed by a RawStmt node into an analyzed statement headed by a Query node. For optimizable statements, the conversion is complex. For utility statements, the parser usually just transfers the raw parse tree (sans RawStmt) into the utilityStmt field of the Query node, and all the useful work happens at execution time.

stmt_location/stmt_len identify the portion of the source text string containing this raw statement (useful for multistatement strings).

Fields

stmt: Option<Box<Node>>stmt_location: i32stmt_len: i32

Trait Implementations

impl Debug for RawStmt[src]

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

impl Eq for RawStmt[src]

impl PartialEq<RawStmt> for RawStmt[src]

impl Serialize for RawStmt[src]

impl StructuralEq for RawStmt[src]

impl StructuralPartialEq for RawStmt[src]

Auto Trait Implementations

impl RefUnwindSafe for RawStmt

impl Send for RawStmt

impl Sync for RawStmt

impl Unpin for RawStmt

impl UnwindSafe for RawStmt

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.