Add Rule • Rust AI Agent SDK
add_rule: Add a rule.
add_rule
Method
</div>
This is a method of the PolicyEngine class in the policy module.
Add a rule.
Signature
def add_rule(&mut self, rule: PolicyRule) -> ()Parameters
ParamField
PolicyRuleNo description available.
Returns
ResponseField
()The result of the operation.