pattern • Rust AI Agent SDK

pattern: Set pattern.

pattern

Method

</div>

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

Set pattern.

Signature

python
def pattern(mut self, pattern: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.