action • Rust AI Agent SDK

action: Set action.

action

Method

</div>

This is a method of the PolicyRule class in the policy module.

Set action.

Signature

python
def action(mut self, action: PolicyAction) -> Self

Parameters

ParamField PolicyAction

No description available.

Returns

ResponseField Self

The result of the operation.