Struct google_cloudtrace2::api::Link [−][src]
pub struct Link {
pub attributes: Option<Attributes>,
pub span_id: Option<String>,
pub trace_id: Option<String>,
pub type_: Option<String>,
}Expand description
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.
span_id: Option<String>The [SPAN_ID] for a span within a trace.
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.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Link
impl UnwindSafe for Link
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more