new • Rust AI Agent SDK

new: Create new metrics

new

Method

</div>

This is a method of the AgentMetrics class in the protocols module.

Create new metrics

Signature

python
def new() -> Self

Returns

ResponseField Self

The result of the operation.