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
sourceimpl Clone for SnapshotData
impl Clone for SnapshotData
sourcefn clone(&self) -> SnapshotData
fn clone(&self) -> SnapshotData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SnapshotData
impl Debug for SnapshotData
sourceimpl Default for SnapshotData
impl Default for SnapshotData
impl Copy for SnapshotData
Auto Trait Implementations
impl RefUnwindSafe for SnapshotData
impl !Send for SnapshotData
impl !Sync for SnapshotData
impl Unpin for SnapshotData
impl UnwindSafe for SnapshotData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more