TraceContext.TraceParentV00: type of bend-trace-context@0.2.0.0 Import: import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext Lines 170-180 of bend-trace-context@0.2.0.0/trace_context.bend: https://jend.leeeet.dev/read.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&start_line=170&end_line=180 import Base import bend-trace-context@0.2.0.0/src/digits.bend as Digits # A strict traceparent v00 value (W3C 3.2.2): a trace ID of 32 digits and a # parent ID of 16 digits, each with a proof that it is not all zero, and a flag # byte of two digits. Length and alphabet are structural: a value with a wrong # length or a non-hexadecimal digit cannot be built. All eight flag bits are # kept, including the reserved ones, so the codec is exact. type TraceParentV00 is Data: TraceParentV00{ trace_id: Digits.NonZero<32n>, parent_id: Digits.NonZero<16n>, flags: Digits.Digits(2n) } Uses (2): https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/src/digits.bend&name=Digits https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/src/digits.bend&name=NonZero