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
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 Default for Link
[src]
impl Default for Link
impl Clone for Link
[src]
impl Clone for Link
fn clone(&self) -> Link
[src]
fn clone(&self) -> Link
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Link
[src]
impl Debug for Link
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 Part for Link
[src]
impl Part for Link