new • Rust AI Agent SDK

new: Create a new trace event

new

Method

</div>

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

Create a new trace event

Signature

python
def new(event_type: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.