pub struct TxnSummary {
pub xid: u32,
pub end_lsn: Lsn,
pub ops: Vec<OpCount>,
pub keys: Vec<String>,
pub rows: u64,
pub apply_time: Duration,
}Expand description
One applied source transaction, summarised with bounded memory.
Fields§
§xid: u32§end_lsn: Lsn§ops: Vec<OpCount>Per (table, operation) counts, in first-seen order.
keys: Vec<String>Up to MAX_KEYS table key=value samples, only when key reporting is enabled.
rows: u64§apply_time: DurationTime from BEGIN to COMMIT on the target.
Implementations§
Source§impl TxnSummary
impl TxnSummary
Trait Implementations§
Source§impl Clone for TxnSummary
impl Clone for TxnSummary
Source§impl Debug for TxnSummary
impl Debug for TxnSummary
Auto Trait Implementations§
impl Freeze for TxnSummary
impl RefUnwindSafe for TxnSummary
impl Send for TxnSummary
impl Sync for TxnSummary
impl Unpin for TxnSummary
impl UnsafeUnpin for TxnSummary
impl UnwindSafe for TxnSummary
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