Struct pgx_pg_sys::PgStat_MsgTabstat
source · [−]#[repr(C)]pub struct PgStat_MsgTabstat {
pub m_hdr: PgStat_MsgHdr,
pub m_databaseid: Oid,
pub m_nentries: c_int,
pub m_xact_commit: c_int,
pub m_xact_rollback: c_int,
pub m_block_read_time: PgStat_Counter,
pub m_block_write_time: PgStat_Counter,
pub m_session_time: PgStat_Counter,
pub m_active_time: PgStat_Counter,
pub m_idle_in_xact_time: PgStat_Counter,
pub m_entry: [PgStat_TableEntry; 8],
}
Fields
m_hdr: PgStat_MsgHdr
m_databaseid: Oid
m_nentries: c_int
m_xact_commit: c_int
m_xact_rollback: c_int
m_block_read_time: PgStat_Counter
m_block_write_time: PgStat_Counter
m_session_time: PgStat_Counter
m_active_time: PgStat_Counter
m_idle_in_xact_time: PgStat_Counter
m_entry: [PgStat_TableEntry; 8]
Trait Implementations
sourceimpl Clone for PgStat_MsgTabstat
impl Clone for PgStat_MsgTabstat
sourcefn clone(&self) -> PgStat_MsgTabstat
fn clone(&self) -> PgStat_MsgTabstat
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 PgStat_MsgTabstat
impl Debug for PgStat_MsgTabstat
sourceimpl Default for PgStat_MsgTabstat
impl Default for PgStat_MsgTabstat
impl Copy for PgStat_MsgTabstat
Auto Trait Implementations
impl RefUnwindSafe for PgStat_MsgTabstat
impl Send for PgStat_MsgTabstat
impl Sync for PgStat_MsgTabstat
impl Unpin for PgStat_MsgTabstat
impl UnwindSafe for PgStat_MsgTabstat
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