With Duration • Rust AI Agent SDK

with_duration: Set duration

with_duration

Method

</div>

This is a method of the HandoffResult class in the handoff module.

Set duration

Signature

python
def with_duration(mut self, seconds: f64) -> Self

Parameters

ParamField f64

No description available.

Returns

ResponseField Self

The result of the operation.