Rule Count • Rust AI Agent SDK

rule_count: Get rule count.

rule_count

Method

</div>

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

Get rule count.

Signature

python
def rule_count(&self) -> usize

Returns

ResponseField usize

The result of the operation.