Struct google_cloudtrace2::Link[][src]

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

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

The [TRACE_ID] for a trace within a project.

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

The [SPAN_ID] for a span within a trace.

Trait Implementations

impl Default for Link
[src]

Returns the "default value" for a type. Read more

impl Clone for Link
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Link
[src]

Formats the value using the given formatter. Read more

impl Part for Link
[src]

Auto Trait Implementations

impl Send for Link

impl Sync for Link