pub struct OpTrace {
pub op: DbOp,
pub entity: String,
pub id: Option<String>,
pub duration_ms: f64,
pub row_count: Option<usize>,
pub ok: bool,
}Expand description
Trace of a single DB operation within a function.
Fields§
§op: DbOp§entity: String§id: Option<String>§duration_ms: f64§row_count: Option<usize>§ok: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for OpTrace
impl RefUnwindSafe for OpTrace
impl Send for OpTrace
impl Sync for OpTrace
impl Unpin for OpTrace
impl UnsafeUnpin for OpTrace
impl UnwindSafe for OpTrace
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