Skip to main content

EventType

Trait EventType 

Source
pub trait EventType {
    // Required method
    fn event_type(&self) -> &'static str;
}
Available on crate feature _api only.
Expand description

Trait for events to get their event type string.

Required Methods§

Source

fn event_type(&self) -> &'static str

Returns the event type string (e.g., “batch.cancelled”)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl EventType for AssistantStreamEvent

Available on crate feature assistant-types only.
Source§

impl EventType for CreateSpeechResponseStreamEvent

Available on crate feature audio-types only.
Source§

impl EventType for CreateTranscriptionResponseStreamEvent

Available on crate feature audio-types only.
Source§

impl EventType for ImageEditCompletedEvent

Available on crate feature image-types only.
Source§

impl EventType for ImageEditPartialImageEvent

Available on crate feature image-types only.
Source§

impl EventType for ImageEditStreamEvent

Available on crate feature image-types only.
Source§

impl EventType for ImageGenCompletedEvent

Available on crate feature image-types only.
Source§

impl EventType for ImageGenPartialImageEvent

Available on crate feature image-types only.
Source§

impl EventType for ImageGenStreamEvent

Available on crate feature image-types only.
Source§

impl EventType for RealtimeClientEvent

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeClientEventConversationItemCreate

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeClientEventConversationItemDelete

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeClientEventConversationItemRetrieve

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeClientEventConversationItemTruncate

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeClientEventInputAudioBufferAppend

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeClientEventInputAudioBufferClear

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeClientEventInputAudioBufferCommit

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeClientEventOutputAudioBufferClear

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeClientEventResponseCancel

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeClientEventResponseCreate

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeClientEventSessionUpdate

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEvent

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventConversationItemAdded

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventConversationItemDeleted

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventConversationItemDone

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventConversationItemInputAudioTranscriptionCompleted

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventConversationItemInputAudioTranscriptionDelta

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventConversationItemInputAudioTranscriptionFailed

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventConversationItemInputAudioTranscriptionSegment

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventConversationItemRetrieved

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventConversationItemTruncated

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventError

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventInputAudioBufferCleared

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventInputAudioBufferCommitted

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventInputAudioBufferDtmfEventReceived

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventInputAudioBufferSpeechStarted

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventInputAudioBufferSpeechStopped

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventInputAudioBufferTimeoutTriggered

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventMCPListToolsCompleted

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventMCPListToolsFailed

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventMCPListToolsInProgress

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventOutputAudioBufferCleared

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventOutputAudioBufferStarted

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventOutputAudioBufferStopped

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventRateLimitsUpdated

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseAudioDelta

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseAudioDone

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseAudioTranscriptDelta

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseAudioTranscriptDone

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseContentPartAdded

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseContentPartDone

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseCreated

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseDone

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseFunctionCallArgumentsDelta

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseFunctionCallArgumentsDone

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseMCPCallArgumentsDelta

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseMCPCallArgumentsDone

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseMCPCallCompleted

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseMCPCallFailed

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseMCPCallInProgress

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseOutputItemAdded

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseOutputItemDone

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseTextDelta

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventResponseTextDone

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventSessionCreated

Available on crate feature realtime-types only.
Source§

impl EventType for RealtimeServerEventSessionUpdated

Available on crate feature realtime-types only.
Source§

impl EventType for ResponseCodeInterpreterCallCodeDeltaEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseCodeInterpreterCallCodeDoneEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseCodeInterpreterCallCompletedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseCodeInterpreterCallInProgressEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseCodeInterpreterCallInterpretingEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseCompletedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseContentPartAddedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseContentPartDoneEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseCreatedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseCustomToolCallInputDeltaEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseCustomToolCallInputDoneEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseErrorEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseFailedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseFileSearchCallCompletedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseFileSearchCallInProgressEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseFileSearchCallSearchingEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseFunctionCallArgumentsDeltaEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseFunctionCallArgumentsDoneEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseImageGenCallCompletedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseImageGenCallGeneratingEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseImageGenCallInProgressEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseImageGenCallPartialImageEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseInProgressEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseIncompleteEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseMCPCallArgumentsDeltaEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseMCPCallArgumentsDoneEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseMCPCallCompletedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseMCPCallFailedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseMCPCallInProgressEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseMCPListToolsCompletedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseMCPListToolsFailedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseMCPListToolsInProgressEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseOutputItemAddedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseOutputItemDoneEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseOutputTextAnnotationAddedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseQueuedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseReasoningSummaryPartAddedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseReasoningSummaryPartDoneEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseReasoningSummaryTextDeltaEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseReasoningSummaryTextDoneEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseReasoningTextDeltaEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseReasoningTextDoneEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseRefusalDeltaEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseRefusalDoneEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseStreamEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseTextDeltaEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseTextDoneEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseWebSearchCallCompletedEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseWebSearchCallInProgressEvent

Available on crate feature response-types only.
Source§

impl EventType for ResponseWebSearchCallSearchingEvent

Available on crate feature response-types only.
Source§

impl EventType for SpeechAudioDeltaEvent

Available on crate feature audio-types only.
Source§

impl EventType for SpeechAudioDoneEvent

Available on crate feature audio-types only.
Source§

impl EventType for TranscriptionTextDeltaEvent

Available on crate feature audio-types only.
Source§

impl EventType for TranscriptionTextDoneEvent

Available on crate feature audio-types only.
Source§

impl EventType for TranscriptionTextSegmentEvent

Available on crate feature audio-types only.
Source§

impl EventType for WebhookBatchCancelled

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookBatchCompleted

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookBatchExpired

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookBatchFailed

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookEvalRunCanceled

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookEvalRunFailed

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookEvalRunSucceeded

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookEvent

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookFineTuningJobCancelled

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookFineTuningJobFailed

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookFineTuningJobSucceeded

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookRealtimeCallIncoming

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookResponseCancelled

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookResponseCompleted

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookResponseFailed

Available on crate feature webhook-types only.
Source§

impl EventType for WebhookResponseIncomplete

Available on crate feature webhook-types only.