spans • Rust AI Agent SDK
spans: Get all spans.
spans
Method
</div>
This is a method of the TraceContext class in the trace module.
Get all spans.
Signature
def spans(&self) -> &[Span]Returns
ResponseField
&[Span]The result of the operation.