matches • Rust AI Agent SDK
matches: Check if content matches this rule.
matches
Method
</div>
This is a method of the PolicyRule class in the policy module.
Check if content matches this rule.
Signature
def matches(&self, content: &str) -> boolParameters
ParamField
&strNo description available.
Returns
ResponseField
boolThe result of the operation.