Struct google_cloudtrace2::api::StackTrace
source · pub struct StackTrace {
pub stack_frames: Option<StackFrames>,
pub stack_trace_hash_id: Option<i64>,
}
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<i64>
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§
source§impl Clone for StackTrace
impl Clone for StackTrace
source§fn clone(&self) -> StackTrace
fn clone(&self) -> StackTrace
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 StackTrace
impl Debug for StackTrace
source§impl Default for StackTrace
impl Default for StackTrace
source§fn default() -> StackTrace
fn default() -> StackTrace
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StackTrace
impl<'de> Deserialize<'de> for StackTrace
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 StackTrace
impl Serialize for StackTrace
impl Part for StackTrace
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§
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