EventType

Trait EventType 

Source
pub trait EventType {
    // Required method
    fn event_type(&self) -> &'static str;
}
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”)

Implementors§

Source§

impl EventType for AssistantStreamEvent

Source§

impl EventType for CreateSpeechResponseStreamEvent

Source§

impl EventType for CreateTranscriptionResponseStreamEvent

Source§

impl EventType for ImageEditStreamEvent

Source§

impl EventType for ImageGenStreamEvent

Source§

impl EventType for RealtimeClientEvent

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEvent

Available on crate feature realtime only.
Source§

impl EventType for ResponseStreamEvent

Source§

impl EventType for WebhookEvent

Available on crate feature webhook only.
Source§

impl EventType for SpeechAudioDeltaEvent

Source§

impl EventType for SpeechAudioDoneEvent

Source§

impl EventType for TranscriptionTextDeltaEvent

Source§

impl EventType for TranscriptionTextDoneEvent

Source§

impl EventType for TranscriptionTextSegmentEvent

Source§

impl EventType for ImageEditCompletedEvent

Source§

impl EventType for ImageEditPartialImageEvent

Source§

impl EventType for ImageGenCompletedEvent

Source§

impl EventType for ImageGenPartialImageEvent

Source§

impl EventType for RealtimeClientEventConversationItemCreate

Available on crate feature realtime only.
Source§

impl EventType for RealtimeClientEventConversationItemDelete

Available on crate feature realtime only.
Source§

impl EventType for RealtimeClientEventConversationItemRetrieve

Available on crate feature realtime only.
Source§

impl EventType for RealtimeClientEventConversationItemTruncate

Available on crate feature realtime only.
Source§

impl EventType for RealtimeClientEventInputAudioBufferAppend

Available on crate feature realtime only.
Source§

impl EventType for RealtimeClientEventInputAudioBufferClear

Available on crate feature realtime only.
Source§

impl EventType for RealtimeClientEventInputAudioBufferCommit

Available on crate feature realtime only.
Source§

impl EventType for RealtimeClientEventOutputAudioBufferClear

Available on crate feature realtime only.
Source§

impl EventType for RealtimeClientEventResponseCancel

Available on crate feature realtime only.
Source§

impl EventType for RealtimeClientEventResponseCreate

Available on crate feature realtime only.
Source§

impl EventType for RealtimeClientEventSessionUpdate

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventConversationItemAdded

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventConversationItemDeleted

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventConversationItemDone

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventConversationItemInputAudioTranscriptionCompleted

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventConversationItemInputAudioTranscriptionDelta

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventConversationItemInputAudioTranscriptionFailed

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventConversationItemInputAudioTranscriptionSegment

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventConversationItemRetrieved

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventConversationItemTruncated

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventError

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventInputAudioBufferCleared

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventInputAudioBufferCommitted

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventInputAudioBufferSpeechStarted

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventInputAudioBufferSpeechStopped

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventInputAudioBufferTimeoutTriggered

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventMCPListToolsCompleted

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventMCPListToolsFailed

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventMCPListToolsInProgress

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventOutputAudioBufferCleared

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventOutputAudioBufferStarted

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventOutputAudioBufferStopped

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventRateLimitsUpdated

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseAudioDelta

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseAudioDone

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseAudioTranscriptDelta

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseAudioTranscriptDone

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseContentPartAdded

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseContentPartDone

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseCreated

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseDone

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseFunctionCallArgumentsDelta

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseFunctionCallArgumentsDone

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseMCPCallArgumentsDelta

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseMCPCallArgumentsDone

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseMCPCallCompleted

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseMCPCallFailed

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseMCPCallInProgress

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseOutputItemAdded

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseOutputItemDone

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseTextDelta

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventResponseTextDone

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventSessionCreated

Available on crate feature realtime only.
Source§

impl EventType for RealtimeServerEventSessionUpdated

Available on crate feature realtime only.
Source§

impl EventType for ResponseCodeInterpreterCallCodeDeltaEvent

Source§

impl EventType for ResponseCodeInterpreterCallCodeDoneEvent

Source§

impl EventType for ResponseCodeInterpreterCallCompletedEvent

Source§

impl EventType for ResponseCodeInterpreterCallInProgressEvent

Source§

impl EventType for ResponseCodeInterpreterCallInterpretingEvent

Source§

impl EventType for ResponseCompletedEvent

Source§

impl EventType for ResponseContentPartAddedEvent

Source§

impl EventType for ResponseContentPartDoneEvent

Source§

impl EventType for ResponseCreatedEvent

Source§

impl EventType for ResponseCustomToolCallInputDeltaEvent

Source§

impl EventType for ResponseCustomToolCallInputDoneEvent

Source§

impl EventType for ResponseErrorEvent

Source§

impl EventType for ResponseFailedEvent

Source§

impl EventType for ResponseFileSearchCallCompletedEvent

Source§

impl EventType for ResponseFileSearchCallInProgressEvent

Source§

impl EventType for ResponseFileSearchCallSearchingEvent

Source§

impl EventType for ResponseFunctionCallArgumentsDeltaEvent

Source§

impl EventType for ResponseFunctionCallArgumentsDoneEvent

Source§

impl EventType for ResponseImageGenCallCompletedEvent

Source§

impl EventType for ResponseImageGenCallGeneratingEvent

Source§

impl EventType for ResponseImageGenCallInProgressEvent

Source§

impl EventType for ResponseImageGenCallPartialImageEvent

Source§

impl EventType for ResponseInProgressEvent

Source§

impl EventType for ResponseIncompleteEvent

Source§

impl EventType for ResponseMCPCallArgumentsDeltaEvent

Source§

impl EventType for ResponseMCPCallArgumentsDoneEvent

Source§

impl EventType for ResponseMCPCallCompletedEvent

Source§

impl EventType for ResponseMCPCallFailedEvent

Source§

impl EventType for ResponseMCPCallInProgressEvent

Source§

impl EventType for ResponseMCPListToolsCompletedEvent

Source§

impl EventType for ResponseMCPListToolsFailedEvent

Source§

impl EventType for ResponseMCPListToolsInProgressEvent

Source§

impl EventType for ResponseOutputItemAddedEvent

Source§

impl EventType for ResponseOutputItemDoneEvent

Source§

impl EventType for ResponseOutputTextAnnotationAddedEvent

Source§

impl EventType for ResponseQueuedEvent

Source§

impl EventType for ResponseReasoningSummaryPartAddedEvent

Source§

impl EventType for ResponseReasoningSummaryPartDoneEvent

Source§

impl EventType for ResponseReasoningSummaryTextDeltaEvent

Source§

impl EventType for ResponseReasoningSummaryTextDoneEvent

Source§

impl EventType for ResponseReasoningTextDeltaEvent

Source§

impl EventType for ResponseReasoningTextDoneEvent

Source§

impl EventType for ResponseRefusalDeltaEvent

Source§

impl EventType for ResponseRefusalDoneEvent

Source§

impl EventType for ResponseTextDeltaEvent

Source§

impl EventType for ResponseTextDoneEvent

Source§

impl EventType for ResponseWebSearchCallCompletedEvent

Source§

impl EventType for ResponseWebSearchCallInProgressEvent

Source§

impl EventType for ResponseWebSearchCallSearchingEvent

Source§

impl EventType for WebhookBatchCancelled

Available on crate feature webhook only.
Source§

impl EventType for WebhookBatchCompleted

Available on crate feature webhook only.
Source§

impl EventType for WebhookBatchExpired

Available on crate feature webhook only.
Source§

impl EventType for WebhookBatchFailed

Available on crate feature webhook only.
Source§

impl EventType for WebhookEvalRunCanceled

Available on crate feature webhook only.
Source§

impl EventType for WebhookEvalRunFailed

Available on crate feature webhook only.
Source§

impl EventType for WebhookEvalRunSucceeded

Available on crate feature webhook only.
Source§

impl EventType for WebhookFineTuningJobCancelled

Available on crate feature webhook only.
Source§

impl EventType for WebhookFineTuningJobFailed

Available on crate feature webhook only.
Source§

impl EventType for WebhookFineTuningJobSucceeded

Available on crate feature webhook only.
Source§

impl EventType for WebhookRealtimeCallIncoming

Available on crate feature webhook only.
Source§

impl EventType for WebhookResponseCancelled

Available on crate feature webhook only.
Source§

impl EventType for WebhookResponseCompleted

Available on crate feature webhook only.
Source§

impl EventType for WebhookResponseFailed

Available on crate feature webhook only.
Source§

impl EventType for WebhookResponseIncomplete

Available on crate feature webhook only.