when • Rust AI Agent SDK
when: Add a route for a value.
when
Method
</div>
This is a method of the DictCondition class in the conditions module.
Add a route for a value.
Signature
def when(mut self, value: impl Into<String>, targets: Vec<String>) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
Vec<String>No description available.
Returns
ResponseField
SelfThe result of the operation.