pub struct TxEntry {
pub id: u64,
pub timestamp_ms: u64,
pub action: TxAction,
pub duration_us: Option<u64>,
}Expand description
A single transaction log entry
Fields§
§id: u64Unique ID within the session
timestamp_ms: u64Milliseconds since session start
action: TxActionThe action performed
duration_us: Option<u64>Execution duration in microseconds (if measured)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TxEntry
impl<'de> Deserialize<'de> for TxEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TxEntry
impl RefUnwindSafe for TxEntry
impl Send for TxEntry
impl Sync for TxEntry
impl Unpin for TxEntry
impl UnsafeUnpin for TxEntry
impl UnwindSafe for TxEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more