pub struct Trace {
pub trace_id: String,
pub spans: Vec<TraceSpan>,
pub root_span: Option<TraceSpan>,
pub total_duration_ns: Option<u64>,
pub service_count: usize,
pub start_time: u64,
pub end_time: Option<u64>,
}Expand description
Complete trace containing all spans
Fields§
§trace_id: StringUnique trace identifier
spans: Vec<TraceSpan>All spans in the trace
root_span: Option<TraceSpan>Root span (entry point)
total_duration_ns: Option<u64>Total trace duration
service_count: usizeNumber of unique services
start_time: u64Trace start time
end_time: Option<u64>Trace end time
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Trace
impl RefUnwindSafe for Trace
impl Send for Trace
impl Sync for Trace
impl Unpin for Trace
impl UnwindSafe for Trace
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more