[][src]Struct pgx_pg_sys::PgBackendStatus

#[repr(C)]pub struct PgBackendStatus {
    pub st_changecount: c_int,
    pub st_procpid: c_int,
    pub st_backendType: BackendType,
    pub st_proc_start_timestamp: TimestampTz,
    pub st_xact_start_timestamp: TimestampTz,
    pub st_activity_start_timestamp: TimestampTz,
    pub st_state_start_timestamp: TimestampTz,
    pub st_databaseid: Oid,
    pub st_userid: Oid,
    pub st_clientaddr: SockAddr,
    pub st_clienthostname: *mut c_char,
    pub st_ssl: bool,
    pub st_sslstatus: *mut PgBackendSSLStatus,
    pub st_gss: bool,
    pub st_gssstatus: *mut PgBackendGSSStatus,
    pub st_state: BackendState,
    pub st_appname: *mut c_char,
    pub st_activity_raw: *mut c_char,
    pub st_progress_command: ProgressCommandType,
    pub st_progress_command_target: Oid,
    pub st_progress_param: [int64; 20],
}

Fields

st_changecount: c_intst_procpid: c_intst_backendType: BackendTypest_proc_start_timestamp: TimestampTzst_xact_start_timestamp: TimestampTzst_activity_start_timestamp: TimestampTzst_state_start_timestamp: TimestampTzst_databaseid: Oidst_userid: Oidst_clientaddr: SockAddrst_clienthostname: *mut c_charst_ssl: boolst_sslstatus: *mut PgBackendSSLStatusst_gss: boolst_gssstatus: *mut PgBackendGSSStatusst_state: BackendStatest_appname: *mut c_charst_activity_raw: *mut c_charst_progress_command: ProgressCommandTypest_progress_command_target: Oidst_progress_param: [int64; 20]

Trait Implementations

impl Clone for PgBackendStatus[src]

impl Copy for PgBackendStatus[src]

impl Default for PgBackendStatus[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.