With Matcher • Rust AI Agent SDK

with_matcher: Set matcher pattern

with_matcher

Method

</div>

This is a method of the HookDefinition class in the hooks module.

Set matcher pattern

Signature

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