Struct google_cloudtrace1::api::Trace
source · pub struct Trace {
pub project_id: Option<String>,
pub spans: Option<Vec<TraceSpan>>,
pub trace_id: Option<String>,
}
Expand description
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.
spans: Option<Vec<TraceSpan>>
Collection of spans in the trace.
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
. The numeric value should not be zero.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Trace
impl<'de> Deserialize<'de> for Trace
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
impl ResponseResult for Trace
Auto Trait Implementations§
impl RefUnwindSafe for Trace
impl Send for Trace
impl Sync for Trace
impl Unpin for Trace
impl UnwindSafe for Trace
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