#[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_charprepStmtName: *const c_charportalContext: MemoryContextresowner: ResourceOwnercleanup: Option<unsafe extern "C" fn(portal: Portal)>createSubid: SubTransactionIdactiveSubid: SubTransactionIdsourceText: *const c_charcommandTag: CommandTagqc: QueryCompletionstmts: *mut Listcplan: *mut CachedPlanportalParams: ParamListInfoqueryEnv: *mut QueryEnvironmentstrategy: PortalStrategycursorOptions: c_intrun_once: boolstatus: PortalStatusportalPinned: boolautoHeld: boolqueryDesc: *mut QueryDesctupDesc: TupleDescformats: *mut int16portalSnapshot: SnapshotholdStore: *mut TuplestorestateholdContext: MemoryContextholdSnapshot: SnapshotatStart: boolatEnd: boolportalPos: uint64creation_time: TimestampTzvisible: boolcreateLevel: 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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.