pub struct TraceEventData {
pub port: Option<String>,
pub message: Option<MessageSnapshot>,
pub state_diff: Option<StateDiff>,
pub error: Option<String>,
pub performance_metrics: PerformanceMetrics,
pub custom_attributes: HashMap<String, Value>,
}Expand description
Event data with rich context
Fields§
§port: Option<String>§message: Option<MessageSnapshot>§state_diff: Option<StateDiff>§error: Option<String>§performance_metrics: PerformanceMetrics§custom_attributes: HashMap<String, Value>Trait Implementations§
Source§impl Clone for TraceEventData
impl Clone for TraceEventData
Source§fn clone(&self) -> TraceEventData
fn clone(&self) -> TraceEventData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TraceEventData
impl Debug for TraceEventData
Source§impl<'de> Deserialize<'de> for TraceEventData
impl<'de> Deserialize<'de> for TraceEventData
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 TraceEventData
impl RefUnwindSafe for TraceEventData
impl Send for TraceEventData
impl Sync for TraceEventData
impl Unpin for TraceEventData
impl UnsafeUnpin for TraceEventData
impl UnwindSafe for TraceEventData
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