apply • Rust AI Agent SDK
apply: Apply the rule to content.
apply
Method
</div>
This is a method of the PolicyRule class in the policy module.
Apply the rule to content.
Signature
def apply(&self, content: &str) -> PolicyResultParameters
ParamField
&strNo description available.
Returns
ResponseField
PolicyResultThe result of the operation.