pub struct TraceSpan {
pub span_id: String,
pub trace_id: String,
pub parent_span_id: Option<String>,
pub name: String,
pub start_time: DateTime<Utc>,
pub end_time: Option<DateTime<Utc>>,
pub attributes: HashMap<String, Value>,
pub events: Vec<TraceEvent>,
pub status: TraceStatus,
}
Expand description
トレース情報
Fields§
§span_id: String
§trace_id: String
§parent_span_id: Option<String>
§name: String
§start_time: DateTime<Utc>
§end_time: Option<DateTime<Utc>>
§attributes: HashMap<String, Value>
§events: Vec<TraceEvent>
§status: TraceStatus
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TraceSpan
impl<'de> Deserialize<'de> for TraceSpan
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 TraceSpan
impl RefUnwindSafe for TraceSpan
impl Send for TraceSpan
impl Sync for TraceSpan
impl Unpin for TraceSpan
impl UnwindSafe for TraceSpan
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