Struct pgx_pg_sys::PgStat_WalStats
source · [−]#[repr(C)]pub struct PgStat_WalStats {
pub wal_records: PgStat_Counter,
pub wal_fpi: PgStat_Counter,
pub wal_bytes: uint64,
pub wal_buffers_full: PgStat_Counter,
pub wal_write: PgStat_Counter,
pub wal_sync: PgStat_Counter,
pub wal_write_time: PgStat_Counter,
pub wal_sync_time: PgStat_Counter,
pub stat_reset_timestamp: TimestampTz,
}
Fields
wal_records: PgStat_Counter
wal_fpi: PgStat_Counter
wal_bytes: uint64
wal_buffers_full: PgStat_Counter
wal_write: PgStat_Counter
wal_sync: PgStat_Counter
wal_write_time: PgStat_Counter
wal_sync_time: PgStat_Counter
stat_reset_timestamp: TimestampTz
Trait Implementations
sourceimpl Clone for PgStat_WalStats
impl Clone for PgStat_WalStats
sourcefn clone(&self) -> PgStat_WalStats
fn clone(&self) -> PgStat_WalStats
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_WalStats
impl Debug for PgStat_WalStats
sourceimpl Default for PgStat_WalStats
impl Default for PgStat_WalStats
sourcefn default() -> PgStat_WalStats
fn default() -> PgStat_WalStats
Returns the “default value” for a type. Read more
impl Copy for PgStat_WalStats
Auto Trait Implementations
impl RefUnwindSafe for PgStat_WalStats
impl Send for PgStat_WalStats
impl Sync for PgStat_WalStats
impl Unpin for PgStat_WalStats
impl UnwindSafe for PgStat_WalStats
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