Struct pgrx_pg_sys::ParseState

source ·
#[repr(C)]
pub struct ParseState {
Show 32 fields pub parentParseState: *mut ParseState, pub p_sourcetext: *const c_char, pub p_rtable: *mut List, pub p_joinexprs: *mut List, pub p_joinlist: *mut List, pub p_namespace: *mut List, pub p_lateral_active: bool, pub p_ctenamespace: *mut List, pub p_future_ctes: *mut List, pub p_parent_cte: *mut CommonTableExpr, pub p_target_relation: Relation, pub p_target_nsitem: *mut ParseNamespaceItem, pub p_is_insert: bool, pub p_windowdefs: *mut List, pub p_expr_kind: ParseExprKind, pub p_next_resno: c_int, pub p_multiassign_exprs: *mut List, pub p_locking_clause: *mut List, pub p_locked_from_parent: bool, pub p_resolve_unknowns: bool, pub p_queryEnv: *mut QueryEnvironment, pub p_hasAggs: bool, pub p_hasWindowFuncs: bool, pub p_hasTargetSRFs: bool, pub p_hasSubLinks: bool, pub p_hasModifyingCTE: bool, pub p_last_srf: *mut Node, pub p_pre_columnref_hook: PreParseColumnRefHook, pub p_post_columnref_hook: PostParseColumnRefHook, pub p_paramref_hook: ParseParamRefHook, pub p_coerce_param_hook: CoerceParamHook, pub p_ref_hook_state: *mut c_void,
}

Fields§

§parentParseState: *mut ParseState§p_sourcetext: *const c_char§p_rtable: *mut List§p_joinexprs: *mut List§p_joinlist: *mut List§p_namespace: *mut List§p_lateral_active: bool§p_ctenamespace: *mut List§p_future_ctes: *mut List§p_parent_cte: *mut CommonTableExpr§p_target_relation: Relation§p_target_nsitem: *mut ParseNamespaceItem§p_is_insert: bool§p_windowdefs: *mut List§p_expr_kind: ParseExprKind§p_next_resno: c_int§p_multiassign_exprs: *mut List§p_locking_clause: *mut List§p_locked_from_parent: bool§p_resolve_unknowns: bool§p_queryEnv: *mut QueryEnvironment§p_hasAggs: bool§p_hasWindowFuncs: bool§p_hasTargetSRFs: bool§p_hasSubLinks: bool§p_hasModifyingCTE: bool§p_last_srf: *mut Node§p_pre_columnref_hook: PreParseColumnRefHook§p_post_columnref_hook: PostParseColumnRefHook§p_paramref_hook: ParseParamRefHook§p_coerce_param_hook: CoerceParamHook§p_ref_hook_state: *mut c_void

Trait Implementations§

source§

impl Clone for ParseState

source§

fn clone(&self) -> ParseState

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParseState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ParseState

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for ParseState

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.