new • Rust AI Agent SDK

new: Create a new event.

new

Method

</div>

This is a method of the TelemetryEvent class in the telemetry module.

Create a new event.

Signature

python
def new(event_type: TelemetryEventType) -> Self

Parameters

ParamField TelemetryEventType

No description available.

Returns

ResponseField Self

The result of the operation.