trace_recorder_parser/streaming/event/object_name.rs
1use crate::streaming::event::EventCount;
2use crate::time::Timestamp;
3use crate::types::{ObjectHandle, SymbolString};
4use derive_more::Display;
5
6#[derive(Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug, Display)]
7#[display(fmt = "[{timestamp}]:{handle}:'{name}'")]
8pub struct ObjectNameEvent {
9 pub event_count: EventCount,
10 pub timestamp: Timestamp,
11
12 pub handle: ObjectHandle,
13 pub name: SymbolString,
14}