redact • Rust AI Agent SDK

redact: Create a redact result.

redact

Method

</div>

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

Create a redact result.

Signature

python
def redact(rule: impl Into<String>, modified: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.