Struct pgx_pg_sys::QueryDesc
source · [−]#[repr(C)]pub struct QueryDesc {Show 14 fields
pub operation: CmdType,
pub plannedstmt: *mut PlannedStmt,
pub sourceText: *const c_char,
pub snapshot: Snapshot,
pub crosscheck_snapshot: Snapshot,
pub dest: *mut DestReceiver,
pub params: ParamListInfo,
pub queryEnv: *mut QueryEnvironment,
pub instrument_options: c_int,
pub tupDesc: TupleDesc,
pub estate: *mut EState,
pub planstate: *mut PlanState,
pub already_executed: bool,
pub totaltime: *mut Instrumentation,
}
Fields
operation: CmdType
plannedstmt: *mut PlannedStmt
sourceText: *const c_char
snapshot: Snapshot
crosscheck_snapshot: Snapshot
dest: *mut DestReceiver
params: ParamListInfo
queryEnv: *mut QueryEnvironment
instrument_options: c_int
tupDesc: TupleDesc
estate: *mut EState
planstate: *mut PlanState
already_executed: bool
totaltime: *mut Instrumentation
Trait Implementations
impl Copy for QueryDesc
Auto Trait Implementations
impl RefUnwindSafe for QueryDesc
impl !Send for QueryDesc
impl !Sync for QueryDesc
impl Unpin for QueryDesc
impl UnwindSafe for QueryDesc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more