pub enum RealtimeServerEvent {
Show 34 variants
RealtimeServerEventConversationCreated(RealtimeServerEventConversationCreated),
RealtimeServerEventConversationItemCreated(RealtimeServerEventConversationItemCreated),
RealtimeServerEventConversationItemDeleted(RealtimeServerEventConversationItemDeleted),
RealtimeServerEventConversationItemInputAudioTranscriptionCompleted(RealtimeServerEventConversationItemInputAudioTranscriptionCompleted),
RealtimeServerEventConversationItemInputAudioTranscriptionDelta(RealtimeServerEventConversationItemInputAudioTranscriptionDelta),
RealtimeServerEventConversationItemInputAudioTranscriptionFailed(RealtimeServerEventConversationItemInputAudioTranscriptionFailed),
RealtimeServerEventConversationItemRetrieved(RealtimeServerEventConversationItemRetrieved),
RealtimeServerEventConversationItemTruncated(RealtimeServerEventConversationItemTruncated),
RealtimeServerEventError(RealtimeServerEventError),
RealtimeServerEventInputAudioBufferCleared(RealtimeServerEventInputAudioBufferCleared),
RealtimeServerEventInputAudioBufferCommitted(RealtimeServerEventInputAudioBufferCommitted),
RealtimeServerEventInputAudioBufferSpeechStarted(RealtimeServerEventInputAudioBufferSpeechStarted),
RealtimeServerEventInputAudioBufferSpeechStopped(RealtimeServerEventInputAudioBufferSpeechStopped),
RealtimeServerEventRateLimitsUpdated(RealtimeServerEventRateLimitsUpdated),
RealtimeServerEventResponseAudioDelta(RealtimeServerEventResponseAudioDelta),
RealtimeServerEventResponseAudioDone(RealtimeServerEventResponseAudioDone),
RealtimeServerEventResponseAudioTranscriptDelta(RealtimeServerEventResponseAudioTranscriptDelta),
RealtimeServerEventResponseAudioTranscriptDone(RealtimeServerEventResponseAudioTranscriptDone),
RealtimeServerEventResponseContentPartAdded(RealtimeServerEventResponseContentPartAdded),
RealtimeServerEventResponseContentPartDone(RealtimeServerEventResponseContentPartDone),
RealtimeServerEventResponseCreated(RealtimeServerEventResponseCreated),
RealtimeServerEventResponseDone(RealtimeServerEventResponseDone),
RealtimeServerEventResponseFunctionCallArgumentsDelta(RealtimeServerEventResponseFunctionCallArgumentsDelta),
RealtimeServerEventResponseFunctionCallArgumentsDone(RealtimeServerEventResponseFunctionCallArgumentsDone),
RealtimeServerEventResponseOutputItemAdded(RealtimeServerEventResponseOutputItemAdded),
RealtimeServerEventResponseOutputItemDone(RealtimeServerEventResponseOutputItemDone),
RealtimeServerEventResponseTextDelta(RealtimeServerEventResponseTextDelta),
RealtimeServerEventResponseTextDone(RealtimeServerEventResponseTextDone),
RealtimeServerEventSessionCreated(RealtimeServerEventSessionCreated),
RealtimeServerEventSessionUpdated(RealtimeServerEventSessionUpdated),
RealtimeServerEventTranscriptionSessionUpdated(RealtimeServerEventTranscriptionSessionUpdated),
RealtimeServerEventOutputAudioBufferStarted(RealtimeServerEventOutputAudioBufferStarted),
RealtimeServerEventOutputAudioBufferStopped(RealtimeServerEventOutputAudioBufferStopped),
RealtimeServerEventOutputAudioBufferCleared(RealtimeServerEventOutputAudioBufferCleared),
}
Expand description
A realtime server event.
Variants§
RealtimeServerEventConversationCreated(RealtimeServerEventConversationCreated)
RealtimeServerEventConversationItemCreated(RealtimeServerEventConversationItemCreated)
RealtimeServerEventConversationItemDeleted(RealtimeServerEventConversationItemDeleted)
RealtimeServerEventConversationItemInputAudioTranscriptionCompleted(RealtimeServerEventConversationItemInputAudioTranscriptionCompleted)
RealtimeServerEventConversationItemInputAudioTranscriptionDelta(RealtimeServerEventConversationItemInputAudioTranscriptionDelta)
RealtimeServerEventConversationItemInputAudioTranscriptionFailed(RealtimeServerEventConversationItemInputAudioTranscriptionFailed)
RealtimeServerEventConversationItemRetrieved(RealtimeServerEventConversationItemRetrieved)
RealtimeServerEventConversationItemTruncated(RealtimeServerEventConversationItemTruncated)
RealtimeServerEventError(RealtimeServerEventError)
RealtimeServerEventInputAudioBufferCleared(RealtimeServerEventInputAudioBufferCleared)
RealtimeServerEventInputAudioBufferCommitted(RealtimeServerEventInputAudioBufferCommitted)
RealtimeServerEventInputAudioBufferSpeechStarted(RealtimeServerEventInputAudioBufferSpeechStarted)
RealtimeServerEventInputAudioBufferSpeechStopped(RealtimeServerEventInputAudioBufferSpeechStopped)
RealtimeServerEventRateLimitsUpdated(RealtimeServerEventRateLimitsUpdated)
RealtimeServerEventResponseAudioDelta(RealtimeServerEventResponseAudioDelta)
RealtimeServerEventResponseAudioDone(RealtimeServerEventResponseAudioDone)
RealtimeServerEventResponseAudioTranscriptDelta(RealtimeServerEventResponseAudioTranscriptDelta)
RealtimeServerEventResponseAudioTranscriptDone(RealtimeServerEventResponseAudioTranscriptDone)
RealtimeServerEventResponseContentPartAdded(RealtimeServerEventResponseContentPartAdded)
RealtimeServerEventResponseContentPartDone(RealtimeServerEventResponseContentPartDone)
RealtimeServerEventResponseCreated(RealtimeServerEventResponseCreated)
RealtimeServerEventResponseDone(RealtimeServerEventResponseDone)
RealtimeServerEventResponseFunctionCallArgumentsDelta(RealtimeServerEventResponseFunctionCallArgumentsDelta)
RealtimeServerEventResponseFunctionCallArgumentsDone(RealtimeServerEventResponseFunctionCallArgumentsDone)
RealtimeServerEventResponseOutputItemAdded(RealtimeServerEventResponseOutputItemAdded)
RealtimeServerEventResponseOutputItemDone(RealtimeServerEventResponseOutputItemDone)
RealtimeServerEventResponseTextDelta(RealtimeServerEventResponseTextDelta)
RealtimeServerEventResponseTextDone(RealtimeServerEventResponseTextDone)
RealtimeServerEventSessionCreated(RealtimeServerEventSessionCreated)
RealtimeServerEventSessionUpdated(RealtimeServerEventSessionUpdated)
RealtimeServerEventTranscriptionSessionUpdated(RealtimeServerEventTranscriptionSessionUpdated)
RealtimeServerEventOutputAudioBufferStarted(RealtimeServerEventOutputAudioBufferStarted)
RealtimeServerEventOutputAudioBufferStopped(RealtimeServerEventOutputAudioBufferStopped)
RealtimeServerEventOutputAudioBufferCleared(RealtimeServerEventOutputAudioBufferCleared)
Trait Implementations§
Source§impl Clone for RealtimeServerEvent
impl Clone for RealtimeServerEvent
Source§fn clone(&self) -> RealtimeServerEvent
fn clone(&self) -> RealtimeServerEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RealtimeServerEvent
impl RefUnwindSafe for RealtimeServerEvent
impl Send for RealtimeServerEvent
impl Sync for RealtimeServerEvent
impl Unpin for RealtimeServerEvent
impl UnwindSafe for RealtimeServerEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more