Must Not Match • Rust AI Agent SDK

must_not_match: Set must not match pattern

must_not_match

Method

</div>

This is a method of the PatternGuardrail class in the guardrails module.

Set must not match pattern

Signature

python
def must_not_match(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.