Skip to main content

with_data

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

Signature

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

Parameters

key
impl Into<String>
required
No description available.
value
impl Serialize
required
No description available.

Returns

Returns
Self
The result of the operation.