new • Rust AI Agent SDK

new: Create a new rewrite result

new

Method

</div>

This is a method of the RewriteResult class in the specialized_agents module.

Create a new rewrite result

Signature

python
def new(
        original: impl Into<String>,
        rewritten: Vec<String>,
        strategy: RewriteStrategy,
    ) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField Vec&lt;String&gt;

No description available.

ParamField RewriteStrategy

No description available.

Returns

ResponseField Self

The result of the operation.