Struct pgx_pg_sys::xl_xact_prepare
source · [−]#[repr(C)]pub struct xl_xact_prepare {Show 14 fields
pub magic: uint32,
pub total_len: uint32,
pub xid: TransactionId,
pub database: Oid,
pub prepared_at: TimestampTz,
pub owner: Oid,
pub nsubxacts: int32,
pub ncommitrels: int32,
pub nabortrels: int32,
pub ninvalmsgs: int32,
pub initfileinval: bool,
pub gidlen: uint16,
pub origin_lsn: XLogRecPtr,
pub origin_timestamp: TimestampTz,
}
Fields
magic: uint32
total_len: uint32
xid: TransactionId
database: Oid
prepared_at: TimestampTz
owner: Oid
nsubxacts: int32
ncommitrels: int32
nabortrels: int32
ninvalmsgs: int32
initfileinval: bool
gidlen: uint16
origin_lsn: XLogRecPtr
origin_timestamp: TimestampTz
Trait Implementations
sourceimpl Clone for xl_xact_prepare
impl Clone for xl_xact_prepare
sourcefn clone(&self) -> xl_xact_prepare
fn clone(&self) -> xl_xact_prepare
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 more
sourceimpl Debug for xl_xact_prepare
impl Debug for xl_xact_prepare
sourceimpl Default for xl_xact_prepare
impl Default for xl_xact_prepare
sourcefn default() -> xl_xact_prepare
fn default() -> xl_xact_prepare
Returns the “default value” for a type. Read more
impl Copy for xl_xact_prepare
Auto Trait Implementations
impl RefUnwindSafe for xl_xact_prepare
impl Send for xl_xact_prepare
impl Sync for xl_xact_prepare
impl Unpin for xl_xact_prepare
impl UnwindSafe for xl_xact_prepare
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more