Struct pgx_pg_sys::SnapshotData
source · #[repr(C)]pub struct SnapshotData {Show 19 fields
pub snapshot_type: SnapshotType,
pub xmin: TransactionId,
pub xmax: TransactionId,
pub xip: *mut TransactionId,
pub xcnt: uint32,
pub subxip: *mut TransactionId,
pub subxcnt: int32,
pub suboverflowed: bool,
pub takenDuringRecovery: bool,
pub copied: bool,
pub curcid: CommandId,
pub speculativeToken: uint32,
pub vistest: *mut GlobalVisState,
pub active_count: uint32,
pub regd_count: uint32,
pub ph_node: pairingheap_node,
pub whenTaken: TimestampTz,
pub lsn: XLogRecPtr,
pub snapXactCompletionCount: uint64,
}
Fields§
§snapshot_type: SnapshotType
§xmin: TransactionId
§xmax: TransactionId
§xip: *mut TransactionId
§xcnt: uint32
§subxip: *mut TransactionId
§subxcnt: int32
§suboverflowed: bool
§takenDuringRecovery: bool
§copied: bool
§curcid: CommandId
§speculativeToken: uint32
§vistest: *mut GlobalVisState
§active_count: uint32
§regd_count: uint32
§ph_node: pairingheap_node
§whenTaken: TimestampTz
§lsn: XLogRecPtr
§snapXactCompletionCount: uint64
Trait Implementations§
source§impl Clone for SnapshotData
impl Clone for SnapshotData
source§fn clone(&self) -> SnapshotData
fn clone(&self) -> SnapshotData
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 more