[−][src]Struct opentelemetry::sdk::export::trace::SpanData
This is supported on crate feature
trace
only.SpanData
contains all the information collected by a Span
and can be used
by exporters as a standard input.
Fields
span_context: SpanContext
Exportable SpanContext
parent_span_id: SpanId
Span parent id
span_kind: SpanKind
Span kind
name: String
Span name
start_time: SystemTime
Span start time
end_time: SystemTime
Span end time
attributes: EvictedHashMap
Span attributes
message_events: EvictedQueue<Event>
Span Message events
links: EvictedQueue<Link>
Span Links
status_code: StatusCode
Span status code
status_message: String
Span status message
resource: Arc<Resource>
Resource contains attributes representing an entity that produced this span.
instrumentation_lib: InstrumentationLibrary
Instrumentation library that produced this span
Trait Implementations
impl Clone for SpanData
[src]
impl Debug for SpanData
[src]
impl<'de> Deserialize<'de> for SpanData
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<SpanData> for SpanData
[src]
impl Serialize for SpanData
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SpanData
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpanData
[src]
impl Send for SpanData
[src]
impl Sync for SpanData
[src]
impl Unpin for SpanData
[src]
impl UnwindSafe for SpanData
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,