Struct google_cloudtrace1::Trace [−][src]
pub struct Trace { pub project_id: Option<String>, pub trace_id: Option<String>, pub spans: Option<Vec<TraceSpan>>, }
A trace describes how long it takes for an application to perform an operation. It consists of a set of spans, each of which represent a single timed event within the operation.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- traces get projects (response)
Fields
project_id: Option<String>
Project ID of the Cloud project where the trace data is stored.
trace_id: Option<String>
Globally unique identifier for the trace. This identifier is a 128-bit
numeric value formatted as a 32-byte hex string. For example,
382d4f4c6b7bb2f4a972559d9085001d
.
spans: Option<Vec<TraceSpan>>
Collection of spans in the trace.
Trait Implementations
impl Default for Trace
[src]
impl Default for Trace
impl Clone for Trace
[src]
impl Clone for Trace
fn clone(&self) -> Trace
[src]
fn clone(&self) -> Trace
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)
Performs copy-assignment from source
. Read more
impl Debug for Trace
[src]
impl Debug for Trace
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 ResponseResult for Trace
[src]
impl ResponseResult for Trace