#[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

source§

fn clone(&self) -> PgStat_StatDBEntry

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PgStat_StatDBEntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PgStat_StatDBEntry

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for PgStat_StatDBEntry

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.