With Parent • Rust AI Agent SDK
with_parent: Set parent span.
with_parent
Method
</div>
This is a method of the Span class in the trace module.
Set parent span.
Signature
pythondef with_parent(mut self, parent_id: impl Into<String>) -> Self
Parameters
ParamField impl Into<String>No description available.
Returns
ResponseField SelfThe result of the operation.