Struct pgx_pg_sys::PortalData

source ·
#[repr(C)]
pub struct PortalData {
Show 33 fields pub name: *const c_char, pub prepStmtName: *const c_char, pub portalContext: MemoryContext, pub resowner: ResourceOwner, pub cleanup: Option<unsafe extern "C" fn(portal: Portal)>, pub createSubid: SubTransactionId, pub activeSubid: SubTransactionId, pub sourceText: *const c_char, pub commandTag: CommandTag, pub qc: QueryCompletion, pub stmts: *mut List, pub cplan: *mut CachedPlan, pub portalParams: ParamListInfo, pub queryEnv: *mut QueryEnvironment, pub strategy: PortalStrategy, pub cursorOptions: c_int, pub run_once: bool, pub status: PortalStatus, pub portalPinned: bool, pub autoHeld: bool, pub queryDesc: *mut QueryDesc, pub tupDesc: TupleDesc, pub formats: *mut int16, pub portalSnapshot: Snapshot, pub holdStore: *mut Tuplestorestate, pub holdContext: MemoryContext, pub holdSnapshot: Snapshot, pub atStart: bool, pub atEnd: bool, pub portalPos: uint64, pub creation_time: TimestampTz, pub visible: bool, pub createLevel: c_int,
}

Fields§

§name: *const c_char§prepStmtName: *const c_char§portalContext: MemoryContext§resowner: ResourceOwner§cleanup: Option<unsafe extern "C" fn(portal: Portal)>§createSubid: SubTransactionId§activeSubid: SubTransactionId§sourceText: *const c_char§commandTag: CommandTag§qc: QueryCompletion§stmts: *mut List§cplan: *mut CachedPlan§portalParams: ParamListInfo§queryEnv: *mut QueryEnvironment§strategy: PortalStrategy§cursorOptions: c_int§run_once: bool§status: PortalStatus§portalPinned: bool§autoHeld: bool§queryDesc: *mut QueryDesc§tupDesc: TupleDesc§formats: *mut int16§portalSnapshot: Snapshot§holdStore: *mut Tuplestorestate§holdContext: MemoryContext§holdSnapshot: Snapshot§atStart: bool§atEnd: bool§portalPos: uint64§creation_time: TimestampTz§visible: bool§createLevel: c_int

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more