pub struct SpanRecord {Show 14 fields
pub session_id: String,
pub trace_id: String,
pub span_id: String,
pub parent_span_id: Option<String>,
pub name: String,
pub kind: Option<String>,
pub start_time_unix_nanos: i64,
pub end_time_unix_nanos: Option<i64>,
pub status_code: Option<String>,
pub status_message: Option<String>,
pub scope_name: Option<String>,
pub scope_version: Option<String>,
pub attributes: Value,
pub source: TelemetrySource,
}Fields§
§session_id: String§trace_id: String§span_id: String§parent_span_id: Option<String>§name: String§kind: Option<String>§start_time_unix_nanos: i64§end_time_unix_nanos: Option<i64>§status_code: Option<String>§status_message: Option<String>§scope_name: Option<String>§scope_version: Option<String>§attributes: Value§source: TelemetrySourceTrait Implementations§
Source§impl Clone for SpanRecord
impl Clone for SpanRecord
Source§fn clone(&self) -> SpanRecord
fn clone(&self) -> SpanRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpanRecord
impl Debug for SpanRecord
Source§impl<'de> Deserialize<'de> for SpanRecord
impl<'de> Deserialize<'de> for SpanRecord
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
Source§impl PartialEq for SpanRecord
impl PartialEq for SpanRecord
Source§fn eq(&self, other: &SpanRecord) -> bool
fn eq(&self, other: &SpanRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SpanRecord
impl Serialize for SpanRecord
impl StructuralPartialEq for SpanRecord
Auto Trait Implementations§
impl Freeze for SpanRecord
impl RefUnwindSafe for SpanRecord
impl Send for SpanRecord
impl Sync for SpanRecord
impl Unpin for SpanRecord
impl UnsafeUnpin for SpanRecord
impl UnwindSafe for SpanRecord
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