With Data • Rust AI Agent SDK

with_data: Add data.

with_data

Method

</div>

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

Add data.

Signature

python
def with_data(mut self, key: impl Into<String>, value: impl Serialize) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Serialize

No description available.

Returns

ResponseField Self

The result of the operation.