pub struct CompatSpan {
pub span_v2: SpanV2,
pub data: Annotated<Object<Value>>,
pub description: Annotated<String>,
pub duration_ms: Annotated<u64>,
pub end_timestamp_precise: Annotated<Timestamp>,
pub profile_id: Annotated<EventId>,
pub segment_id: Annotated<String>,
pub start_timestamp_ms: Annotated<u64>,
pub start_timestamp_precise: Annotated<Timestamp>,
pub performance_issues_spans: Annotated<bool>,
}
Expand description
Temporary type that amends a SpansV2 span with fields needed by the sentry span consumer. This can be removed once the consumer has been updated to use the new schema.
Fields§
§span_v2: SpanV2
§data: Annotated<Object<Value>>
§description: Annotated<String>
§duration_ms: Annotated<u64>
§end_timestamp_precise: Annotated<Timestamp>
§profile_id: Annotated<EventId>
§segment_id: Annotated<String>
§start_timestamp_ms: Annotated<u64>
§start_timestamp_precise: Annotated<Timestamp>
§performance_issues_spans: Annotated<bool>
Trait Implementations§
Source§impl Clone for CompatSpan
impl Clone for CompatSpan
Source§fn clone(&self) -> CompatSpan
fn clone(&self) -> CompatSpan
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 moreSource§impl Debug for CompatSpan
impl Debug for CompatSpan
Source§impl Default for CompatSpan
impl Default for CompatSpan
Source§fn default() -> CompatSpan
fn default() -> CompatSpan
Returns the “default value” for a type. Read more
Source§impl Empty for CompatSpan
impl Empty for CompatSpan
Source§impl FromObjectRef for CompatSpan
impl FromObjectRef for CompatSpan
Source§impl FromValue for CompatSpan
impl FromValue for CompatSpan
Source§impl IntoObjectRef for CompatSpan
impl IntoObjectRef for CompatSpan
Source§impl IntoValue for CompatSpan
impl IntoValue for CompatSpan
Source§fn into_value(self) -> Value
fn into_value(self) -> Value
Boxes the meta structure back into a value.
Source§fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
Efficiently serializes the payload directly.
Source§fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
Extracts children meta map out of a value.
Source§impl PartialEq for CompatSpan
impl PartialEq for CompatSpan
Source§impl TryFrom<SpanV2> for CompatSpan
impl TryFrom<SpanV2> for CompatSpan
impl StructuralPartialEq for CompatSpan
Auto Trait Implementations§
impl Freeze for CompatSpan
impl RefUnwindSafe for CompatSpan
impl Send for CompatSpan
impl Sync for CompatSpan
impl Unpin for CompatSpan
impl UnwindSafe for CompatSpan
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