With Name • Rust AI Agent SDK

with_name: Set name

with_name

Method

</div>

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

Set name

Signature

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

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.