[−][src]Struct postgres_parser::nodes::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
stmt: Option<Box<Node>>
stmt_location: i32
stmt_len: i32
Trait Implementations
impl Debug for RawStmt
[src]
impl<'de> Deserialize<'de> for RawStmt
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for RawStmt
[src]
impl PartialEq<RawStmt> for RawStmt
[src]
impl Serialize for RawStmt
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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> 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>,