new • Rust AI Agent SDK
new: Create a new span.
new
Method
</div>
Create a new span.
Signature
def new(
trace_id: impl Into<String>,
name: impl Into<String>,
kind: SpanKind,
start_offset: Duration,
) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
impl Into<String>No description available.
ParamField
SpanKindNo description available.
ParamField
DurationNo description available.
Returns
ResponseField
SelfThe result of the operation.