warn • Rust AI Agent SDK
warn: Create a warning result.
warn
Method
</div>
This is a method of the PolicyResult class in the policy module.
Create a warning result.
Signature
def warn(rule: impl Into<String>, message: impl Into<String>) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
impl Into<String>No description available.
Returns
ResponseField
SelfThe result of the operation.