pub struct StackFrame {
pub column_number: Option<i64>,
pub file_name: Option<TruncatableString>,
pub function_name: Option<TruncatableString>,
pub line_number: Option<i64>,
pub load_module: Option<Module>,
pub original_function_name: Option<TruncatableString>,
pub source_version: Option<TruncatableString>,
}
Expand description
Represents a single stack frame in a stack trace.
This type is not used in any activity, and only used as part of another schema.
Fields§
§column_number: Option<i64>
The column number where the function call appears, if available. This is important in JavaScript because of its anonymous functions.
file_name: Option<TruncatableString>
The name of the source file where the function call appears (up to 256 bytes).
function_name: Option<TruncatableString>
The fully-qualified name that uniquely identifies the function or method that is active in this frame (up to 1024 bytes).
line_number: Option<i64>
The line number in file_name
where the function call appears.
load_module: Option<Module>
The binary module from where the code was loaded.
original_function_name: Option<TruncatableString>
An un-mangled function name, if function_name
is mangled. To get information about name mangling, run this search. The name can be fully-qualified (up to 1024 bytes).
source_version: Option<TruncatableString>
The version of the deployed source code (up to 128 bytes).
Trait Implementations§
Source§impl Clone for StackFrame
impl Clone for StackFrame
Source§fn clone(&self) -> StackFrame
fn clone(&self) -> StackFrame
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for StackFrame
impl Debug for StackFrame
Source§impl Default for StackFrame
impl Default for StackFrame
Source§fn default() -> StackFrame
fn default() -> StackFrame
Source§impl<'de> Deserialize<'de> for StackFrame
impl<'de> Deserialize<'de> for StackFrame
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>,
Source§impl Serialize for StackFrame
impl Serialize for StackFrame
impl Part for StackFrame
Auto Trait Implementations§
impl Freeze for StackFrame
impl RefUnwindSafe for StackFrame
impl Send for StackFrame
impl Sync for StackFrame
impl Unpin for StackFrame
impl UnwindSafe for StackFrame
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more