pub struct Event {
pub seq: u64,
pub call_id: Option<u64>,
pub parent_call_id: Option<u64>,
pub node_id: String,
pub kind: EventKind,
pub title: String,
pub values: Vec<ValueSlot>,
}Expand description
Single recorded execution event.
Fields§
§seq: u64Monotonic sequence number within the session.
call_id: Option<u64>Call identifier when the event belongs to a traced function invocation.
parent_call_id: Option<u64>Parent call identifier when nested under another traced invocation.
node_id: StringNode identifier this event belongs to.
kind: EventKindEvent category.
title: StringShort title shown in the UI timeline.
values: Vec<ValueSlot>Attached value previews.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
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 Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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