Get Rule • Rust AI Agent SDK

get_rule: Get a rule by name.

get_rule

Method

</div>

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

Get a rule by name.

Signature

python
def get_rule(&self, name: &str) -> Option<&PolicyRule>

Parameters

ParamField &str

No description available.