with_attribute
Method
This is a method of the SpanEvent class in the trace module.Add an attribute.
Signature
Parameters
No description available.
No description available.
Returns
The result of the operation.
with_attribute: Add an attribute.
This is a method of the SpanEvent class in the trace module.Add an attribute.
def with_attribute(mut self, key: impl Into<String>, value: impl Serialize) -> Self