[][src]Struct google_cloudtrace1::Trace

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).

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 ResponseResult for Trace[src]

impl Clone for Trace[src]

impl Default for Trace[src]

impl Debug for Trace[src]

impl Serialize for Trace[src]

impl<'de> Deserialize<'de> for Trace[src]

Auto Trait Implementations

impl Send for Trace

impl Sync for Trace

impl Unpin for Trace

impl UnwindSafe for Trace

impl RefUnwindSafe for Trace

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]