type RemoteContext
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
203# A context received from another participant. It identifies the sender's
204# operation and keeps only the known flags: sampled and random-trace-id. It is
205# built from a received value (RemoteContext.from_traceparent) or from its
206# parts (RemoteContext.from_ids), and has its own type, so it cannot be sent
207# as if it were this participant's operation.
208type RemoteContext is Data:
209 RemoteContext{trace_id: TraceId, span_id: SpanId, sampled: Bool}