Struct google_cloudtrace2::StackTrace [−][src]
pub struct StackTrace { pub stack_trace_hash_id: Option<String>, pub stack_frames: Option<StackFrames>, }
A call stack appearing in a trace.
This type is not used in any activity, and only used as part of another schema.
Fields
stack_trace_hash_id: Option<String>
The hash ID is used to conserve network bandwidth for duplicate stack traces within a single trace.
Often multiple spans will have identical stack traces.
The first occurrence of a stack trace should contain both the
stackFrame
content and a value in stackTraceHashId
.
Subsequent spans within the same request can refer
to that stack trace by only setting stackTraceHashId
.
stack_frames: Option<StackFrames>
Stack frames in this stack trace. A maximum of 128 frames are allowed.
Trait Implementations
impl Default for StackTrace
[src]
impl Default for StackTrace
fn default() -> StackTrace
[src]
fn default() -> StackTrace
Returns the "default value" for a type. Read more
impl Clone for StackTrace
[src]
impl Clone for StackTrace
fn clone(&self) -> StackTrace
[src]
fn clone(&self) -> StackTrace
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for StackTrace
[src]
impl Debug for StackTrace
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for StackTrace
[src]
impl Part for StackTrace
Auto Trait Implementations
impl Send for StackTrace
impl Send for StackTrace
impl Sync for StackTrace
impl Sync for StackTrace