pub struct ActivityRow {
pub pid: u32,
pub user: String,
pub started_at_us: i64,
pub current_sql: String,
pub wait_event: String,
pub elapsed_us: i64,
pub in_transaction: bool,
}Expand description
v6.5.2 — one row of spg_stat_activity. Engine-public so
spg-server can construct rows without re-exporting internal
dispatch types.
Fields§
§pid: u32§user: String§started_at_us: i64§current_sql: String§wait_event: String§elapsed_us: i64§in_transaction: boolTrait Implementations§
Source§impl Clone for ActivityRow
impl Clone for ActivityRow
Source§fn clone(&self) -> ActivityRow
fn clone(&self) -> ActivityRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ActivityRow
impl RefUnwindSafe for ActivityRow
impl Send for ActivityRow
impl Sync for ActivityRow
impl Unpin for ActivityRow
impl UnsafeUnpin for ActivityRow
impl UnwindSafe for ActivityRow
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