pub struct ServiceAnalysis {
pub total_duration_ns: u64,
pub span_count: usize,
pub error_count: usize,
pub operations: HashMap<String, usize>,
}Expand description
Service analysis within a trace
Fields§
§total_duration_ns: u64Total time spent in this service
span_count: usizeNumber of spans for this service
error_count: usizeNumber of errors in this service
operations: HashMap<String, usize>Operations performed by this service
Trait Implementations§
Source§impl Clone for ServiceAnalysis
impl Clone for ServiceAnalysis
Source§fn clone(&self) -> ServiceAnalysis
fn clone(&self) -> ServiceAnalysis
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 moreAuto Trait Implementations§
impl Freeze for ServiceAnalysis
impl RefUnwindSafe for ServiceAnalysis
impl Send for ServiceAnalysis
impl Sync for ServiceAnalysis
impl Unpin for ServiceAnalysis
impl UnwindSafe for ServiceAnalysis
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