[][src]Struct google_cloudtrace2::Link

pub struct Link {
    pub attributes: Option<Attributes>,
    pub trace_id: Option<String>,
    pub type_: Option<String>,
    pub span_id: Option<String>,
}

A pointer from the current span to another span in the same trace or in a different trace. For example, this can be used in batching operations, where a single batch handler processes multiple requests from different traces or when the handler receives a request from a different project.

This type is not used in any activity, and only used as part of another schema.

Fields

attributes: Option<Attributes>

A set of attributes on the link. You have have up to 32 attributes per link.

trace_id: Option<String>

The [TRACE_ID] for a trace within a project.

type_: Option<String>

The relationship of the current span relative to the linked span.

span_id: Option<String>

The [SPAN_ID] for a span within a trace.

Trait Implementations

impl Part for Link[src]

impl Default for Link[src]

impl Clone for Link[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Link[src]

impl Serialize for Link[src]

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

Auto Trait Implementations

impl Send for Link

impl Unpin for Link

impl Sync for Link

impl UnwindSafe for Link

impl RefUnwindSafe for Link

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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

type Error = Infallible

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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<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

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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