Struct google_cloudtrace2::StackFrame
source · pub struct StackFrame {
pub original_function_name: Option<TruncatableString>,
pub column_number: Option<String>,
pub function_name: Option<TruncatableString>,
pub load_module: Option<Module>,
pub line_number: Option<String>,
pub source_version: Option<TruncatableString>,
pub file_name: 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§
§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).
column_number: Option<String>The column number where the function call appears, if available. This is important in JavaScript because of its anonymous functions.
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).
load_module: Option<Module>The binary module from where the code was loaded.
line_number: Option<String>The line number in file_name where the function call appears.
source_version: Option<TruncatableString>The version of the deployed source code (up to 128 bytes).
file_name: Option<TruncatableString>The name of the source file where the function call appears (up to 256 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
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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