Struct relay_event_schema::protocol::SourceMapDebugImage
source · pub struct SourceMapDebugImage {
pub code_file: Annotated<String>,
pub debug_id: Annotated<DebugId>,
pub debug_file: Annotated<String>,
pub other: Object<Value>,
}
Expand description
A debug image pointing to a source map.
Examples:
{
"type": "sourcemap",
"code_file": "https://example.com/static/js/main.min.js",
"debug_id": "395835f4-03e0-4436-80d3-136f0749a893"
}
Note: Stack frames and the correlating entries in the debug image here
for code_file
/abs_path
are not PII stripped as they need to line up
perfectly for source map processing.
Fields§
§code_file: Annotated<String>
Path and name of the image file as URL. (required).
The absolute path to the minified JavaScript file. This helps to correlate the file to the stack trace.
debug_id: Annotated<DebugId>
Unique debug identifier of the source map.
debug_file: Annotated<String>
Path and name of the associated source map.
other: Object<Value>
Additional arbitrary fields for forwards compatibility.
Trait Implementations§
source§impl Clone for SourceMapDebugImage
impl Clone for SourceMapDebugImage
source§fn clone(&self) -> SourceMapDebugImage
fn clone(&self) -> SourceMapDebugImage
Returns a copy 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 SourceMapDebugImage
impl Debug for SourceMapDebugImage
source§impl Default for SourceMapDebugImage
impl Default for SourceMapDebugImage
source§fn default() -> SourceMapDebugImage
fn default() -> SourceMapDebugImage
Returns the “default value” for a type. Read more
source§impl Empty for SourceMapDebugImage
impl Empty for SourceMapDebugImage
source§impl FromValue for SourceMapDebugImage
impl FromValue for SourceMapDebugImage
source§fn from_value(__value: Annotated<Value>) -> Annotated<Self>
fn from_value(__value: Annotated<Value>) -> Annotated<Self>
Creates a meta structure from an annotated boxed value.
source§impl IntoValue for SourceMapDebugImage
impl IntoValue for SourceMapDebugImage
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.
§fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
Extracts the meta tree out of annotated value. Read more
source§impl PartialEq for SourceMapDebugImage
impl PartialEq for SourceMapDebugImage
source§impl ProcessValue for SourceMapDebugImage
impl ProcessValue for SourceMapDebugImage
source§fn value_type(&self) -> EnumSet<ValueType>
fn value_type(&self) -> EnumSet<ValueType>
Returns the type of the value.
source§fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Executes a processor on this value.
source§fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Recurses into children of this value.
impl StructuralPartialEq for SourceMapDebugImage
Auto Trait Implementations§
impl Freeze for SourceMapDebugImage
impl RefUnwindSafe for SourceMapDebugImage
impl Send for SourceMapDebugImage
impl Sync for SourceMapDebugImage
impl Unpin for SourceMapDebugImage
impl UnwindSafe for SourceMapDebugImage
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)