Span Count • Rust AI Agent SDK
span_count: Get span count.
span_count
Method
</div>
This is a method of the TraceContext class in the trace module.
Get span count.
Signature
def span_count(&self) -> usizeReturns
ResponseField
usizeThe result of the operation.