Mountain/IPC/Enhanced/PerformanceDashboard/
TraceSpan.rs1#![allow(non_snake_case)]
2
3use std::collections::HashMap;
8
9use serde::{Deserialize, Serialize};
10
11use crate::IPC::Enhanced::PerformanceDashboard::TraceLog;
12
13#[derive(Debug, Clone, Serialize, Deserialize)]
14pub struct Struct {
15 pub trace_id:String,
16 pub span_id:String,
17 pub parent_span_id:Option<String>,
18 pub operation_name:String,
19 pub start_time:u64,
20 pub end_time:Option<u64>,
21 pub duration_ms:Option<u64>,
22 pub tags:HashMap<String, String>,
23 pub logs:Vec<TraceLog::Struct>,
24}