pub struct SpanEntry {
pub span_id: String,
pub trace_id: String,
pub parent_span_id: Option<String>,
pub name: String,
pub kind: String,
pub start_time: i64,
pub end_time: i64,
pub duration: i64,
pub attributes: HashMap<String, String>,
pub resource: Option<Resource>,
pub status: SpanStatus,
pub events: Vec<SpanEvent>,
}Expand description
Individual span entry
Fields§
§span_id: String§trace_id: String§parent_span_id: Option<String>§name: String§kind: String§start_time: i64§end_time: i64§duration: i64§attributes: HashMap<String, String>§resource: Option<Resource>§status: SpanStatus§events: Vec<SpanEvent>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpanEntry
impl<'de> Deserialize<'de> for SpanEntry
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 SpanEntry
impl RefUnwindSafe for SpanEntry
impl Send for SpanEntry
impl Sync for SpanEntry
impl Unpin for SpanEntry
impl UnsafeUnpin for SpanEntry
impl UnwindSafe for SpanEntry
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