Update From Event • Rust AI Agent SDK
update_from_event: Update metrics from a stream event
update_from_event
Method
</div>
This is a method of the StreamMetrics class in the streaming module.
Update metrics from a stream event
Signature
def update_from_event(&mut self, event: &StreamEvent) -> ()Parameters
ParamField
&StreamEventNo description available.
Returns
ResponseField
()The result of the operation.