[−][src]Struct postgres_parser::sys::RawStmt
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
type_: NodeTag
stmt: *mut Node
stmt_location: c_int
raw parse tree
stmt_len: c_int
start location, or 1 if unknown
Trait Implementations
impl Debug for RawStmt
[src]
impl Default for RawStmt
[src]
impl Eq for RawStmt
[src]
impl Hash for RawStmt
[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<RawStmt> 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]
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>,