new • Rust AI Agent SDK
new: Create a new event.
new
Method
</div>
This is a method of the SpanEvent class in the trace module.
Create a new event.
Signature
def new(name: impl Into<String>, timestamp: Duration) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
DurationNo description available.
Returns
ResponseField
SelfThe result of the operation.