pub struct OtlpSpan {
pub trace_id: String,
pub span_id: String,
pub parent_span_id: Option<String>,
pub name: String,
pub kind: Option<i32>,
pub start_time_unix_nano: String,
pub end_time_unix_nano: String,
pub attributes: Option<Vec<KeyValue>>,
pub events: Option<Vec<SpanEvent>>,
pub status: Option<SpanStatus>,
}Fields§
§trace_id: String§span_id: String§parent_span_id: Option<String>§name: String§kind: Option<i32>§start_time_unix_nano: String§end_time_unix_nano: String§attributes: Option<Vec<KeyValue>>§events: Option<Vec<SpanEvent>>§status: Option<SpanStatus>Trait Implementations§
Source§impl<'de> Deserialize<'de> for OtlpSpan
impl<'de> Deserialize<'de> for OtlpSpan
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 OtlpSpan
impl RefUnwindSafe for OtlpSpan
impl Send for OtlpSpan
impl Sync for OtlpSpan
impl Unpin for OtlpSpan
impl UnsafeUnpin for OtlpSpan
impl UnwindSafe for OtlpSpan
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