Struct google_cloudtrace2::api::StackFrame
source · 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. 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
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 StackFrame
impl Debug for StackFrame
source§impl Default for StackFrame
impl Default for StackFrame
source§fn default() -> StackFrame
fn default() -> StackFrame
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more