[][src]Struct pgx_pg_sys::PgStat_StatDBEntry

#[repr(C)]pub struct PgStat_StatDBEntry {
    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 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_Counterstat_reset_timestamp: TimestampTzstats_timestamp: TimestampTztables: *mut HTABfunctions: *mut HTAB

Trait Implementations

impl Clone for PgStat_StatDBEntry[src]

impl Copy for PgStat_StatDBEntry[src]

impl Debug for PgStat_StatDBEntry[src]

impl Default for PgStat_StatDBEntry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.