#[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: Type,
pub qc: QueryCompletion,
pub stmts: *mut List,
pub cplan: *mut CachedPlan,
pub portalParams: ParamListInfo,
pub queryEnv: *mut QueryEnvironment,
pub strategy: Type,
pub cursorOptions: c_int,
pub run_once: bool,
pub status: Type,
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: Type
§qc: QueryCompletion
§stmts: *mut List
§cplan: *mut CachedPlan
§portalParams: ParamListInfo
§queryEnv: *mut QueryEnvironment
§strategy: Type
§cursorOptions: c_int
§run_once: bool
§status: Type
§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§
Source§impl Clone for PortalData
impl Clone for PortalData
Source§fn clone(&self) -> PortalData
fn clone(&self) -> PortalData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PortalData
impl Debug for PortalData
Source§impl Default for PortalData
impl Default for PortalData
impl Copy for PortalData
Auto Trait Implementations§
impl Freeze for PortalData
impl RefUnwindSafe for PortalData
impl !Send for PortalData
impl !Sync for PortalData
impl Unpin for PortalData
impl UnwindSafe for PortalData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more