Struct google_cloudtrace2::api::StackTrace [−][src]
pub struct StackTrace {
pub stack_frames: Option<StackFrames>,
pub stack_trace_hash_id: Option<String>,
}Expand description
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_frames: Option<StackFrames>Stack frames in this stack trace. A maximum of 128 frames are allowed.
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.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for StackTrace
impl Send for StackTrace
impl Sync for StackTrace
impl Unpin for StackTrace
impl UnwindSafe for StackTrace
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more