new • Rust AI Agent SDK

new: Create a new display event

new

Method

</div>

This is a method of the DisplayEvent class in the display_types module.

Create a new display event

Signature

python
def new(event_type: DisplayEventType) -> Self

Parameters

ParamField DisplayEventType

No description available.

Returns

ResponseField Self

The result of the operation.