def SpanId.to_string
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
import bend-trace-context@0.2.0.0/src/digits.bend as Digits
572# The 16 lowercase hexadecimal digits of the span ID.
573def SpanId.to_string(id: SpanId) -> String:
574 match id:
575 case SpanId{value}:
576 Digits.NonZero.to_string(16n, value)