clear • Rust AI Agent SDK

clear: Clear all rules.

clear

Method

</div>

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

Clear all rules.

Signature

python
def clear(&mut self) -> ()

Returns

ResponseField ()

The result of the operation.