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 CreateSpeechResponseStreamEvent

Source§

impl EventType for CreateTranscriptionResponseStreamEvent

Source§

impl EventType for ImageEditStreamEvent

Source§

impl EventType for ImageGenStreamEvent

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 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.