#[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: Oid
§n_xact_commit: PgStat_Counter
§n_xact_rollback: PgStat_Counter
§n_blocks_fetched: PgStat_Counter
§n_blocks_hit: PgStat_Counter
§n_tuples_returned: PgStat_Counter
§n_tuples_fetched: PgStat_Counter
§n_tuples_inserted: PgStat_Counter
§n_tuples_updated: PgStat_Counter
§n_tuples_deleted: PgStat_Counter
§last_autovac_time: TimestampTz
§n_conflict_tablespace: PgStat_Counter
§n_conflict_lock: PgStat_Counter
§n_conflict_snapshot: PgStat_Counter
§n_conflict_bufferpin: PgStat_Counter
§n_conflict_startup_deadlock: PgStat_Counter
§n_temp_files: PgStat_Counter
§n_temp_bytes: PgStat_Counter
§n_deadlocks: PgStat_Counter
§n_checksum_failures: PgStat_Counter
§last_checksum_failure: TimestampTz
§n_block_read_time: PgStat_Counter
§n_block_write_time: PgStat_Counter
§n_sessions: PgStat_Counter
§total_session_time: PgStat_Counter
§total_active_time: PgStat_Counter
§total_idle_in_xact_time: PgStat_Counter
§n_sessions_abandoned: PgStat_Counter
§n_sessions_fatal: PgStat_Counter
§n_sessions_killed: PgStat_Counter
§stat_reset_timestamp: TimestampTz
§stats_timestamp: TimestampTz
§tables: *mut HTAB
§functions: *mut HTAB
Trait Implementations§
Source§impl Clone for PgStat_StatDBEntry
impl Clone for PgStat_StatDBEntry
Source§fn clone(&self) -> PgStat_StatDBEntry
fn clone(&self) -> PgStat_StatDBEntry
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 moreSource§impl Debug for PgStat_StatDBEntry
impl Debug for PgStat_StatDBEntry
Source§impl Default for PgStat_StatDBEntry
impl Default for PgStat_StatDBEntry
impl Copy for PgStat_StatDBEntry
Auto Trait Implementations§
impl Freeze for PgStat_StatDBEntry
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more