pub struct Timing {
pub kind: String,
pub label: String,
pub duration: Option<Duration>,
pub fields: Vec<(String, String)>,
}Expand description
One thing that happened, in the order it happened.
Fields§
§kind: String§label: StringThe line shown on the bar — SQL, a cache key, a model name.
duration: Option<Duration>§fields: Vec<(String, String)>Everything else the event carried, already redacted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Timing
impl RefUnwindSafe for Timing
impl Send for Timing
impl Sync for Timing
impl Unpin for Timing
impl UnsafeUnpin for Timing
impl UnwindSafe for Timing
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