Span ID • Rust AI Agent SDK

span_id: Set span ID

span_id

Method

</div>

This is a method of the TraceEvent class in the specialized module.

Set span ID

Signature

python
def span_id(mut self, id: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.