Struct pgx_pg_sys::PgStat_StatDBEntry
source · [−]#[repr(C)]pub struct PgStat_StatDBEntry {Show 34 fields
pub databaseid: Oid,
pub n_xact_commit: PgStat_Counter,
pub n_xact_rollback: PgStat_Counter,
pub n_blocks_fetched: PgStat_Counter,
pub n_blocks_hit: PgStat_Counter,
pub n_tuples_returned: PgStat_Counter,
pub n_tuples_fetched: PgStat_Counter,
pub n_tuples_inserted: PgStat_Counter,
pub n_tuples_updated: PgStat_Counter,
pub n_tuples_deleted: PgStat_Counter,
pub last_autovac_time: TimestampTz,
pub n_conflict_tablespace: PgStat_Counter,
pub n_conflict_lock: PgStat_Counter,
pub n_conflict_snapshot: PgStat_Counter,
pub n_conflict_bufferpin: PgStat_Counter,
pub n_conflict_startup_deadlock: PgStat_Counter,
pub n_temp_files: PgStat_Counter,
pub n_temp_bytes: PgStat_Counter,
pub n_deadlocks: PgStat_Counter,
pub n_checksum_failures: PgStat_Counter,
pub last_checksum_failure: TimestampTz,
pub n_block_read_time: PgStat_Counter,
pub n_block_write_time: PgStat_Counter,
pub n_sessions: PgStat_Counter,
pub total_session_time: PgStat_Counter,
pub total_active_time: PgStat_Counter,
pub total_idle_in_xact_time: PgStat_Counter,
pub n_sessions_abandoned: PgStat_Counter,
pub n_sessions_fatal: PgStat_Counter,
pub n_sessions_killed: PgStat_Counter,
pub stat_reset_timestamp: TimestampTz,
pub stats_timestamp: TimestampTz,
pub tables: *mut HTAB,
pub functions: *mut HTAB,
}Fields
databaseid: Oidn_xact_commit: PgStat_Countern_xact_rollback: PgStat_Countern_blocks_fetched: PgStat_Countern_blocks_hit: PgStat_Countern_tuples_returned: PgStat_Countern_tuples_fetched: PgStat_Countern_tuples_inserted: PgStat_Countern_tuples_updated: PgStat_Countern_tuples_deleted: PgStat_Counterlast_autovac_time: TimestampTzn_conflict_tablespace: PgStat_Countern_conflict_lock: PgStat_Countern_conflict_snapshot: PgStat_Countern_conflict_bufferpin: PgStat_Countern_conflict_startup_deadlock: PgStat_Countern_temp_files: PgStat_Countern_temp_bytes: PgStat_Countern_deadlocks: PgStat_Countern_checksum_failures: PgStat_Counterlast_checksum_failure: TimestampTzn_block_read_time: PgStat_Countern_block_write_time: PgStat_Countern_sessions: PgStat_Countertotal_session_time: PgStat_Countertotal_active_time: PgStat_Countertotal_idle_in_xact_time: PgStat_Countern_sessions_abandoned: PgStat_Countern_sessions_fatal: PgStat_Countern_sessions_killed: PgStat_Counterstat_reset_timestamp: TimestampTzstats_timestamp: TimestampTztables: *mut HTABfunctions: *mut HTABTrait Implementations
sourceimpl Clone for PgStat_StatDBEntry
impl Clone for PgStat_StatDBEntry
sourcefn clone(&self) -> PgStat_StatDBEntry
fn clone(&self) -> PgStat_StatDBEntry
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PgStat_StatDBEntry
impl Debug for PgStat_StatDBEntry
sourceimpl Default for PgStat_StatDBEntry
impl Default for PgStat_StatDBEntry
impl Copy for PgStat_StatDBEntry
Auto Trait Implementations
impl RefUnwindSafe for PgStat_StatDBEntry
impl !Send for PgStat_StatDBEntry
impl !Sync for PgStat_StatDBEntry
impl Unpin for PgStat_StatDBEntry
impl UnwindSafe for PgStat_StatDBEntry
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