pub enum ResponseStreamEvent {
Show 36 variants
ResponseAudioDeltaEvent(ResponseAudioDeltaEvent),
ResponseAudioDoneEvent(ResponseAudioDoneEvent),
ResponseAudioTranscriptDeltaEvent(ResponseAudioTranscriptDeltaEvent),
ResponseAudioTranscriptDoneEvent(ResponseAudioTranscriptDoneEvent),
ResponseCodeInterpreterCallCodeDeltaEvent(ResponseCodeInterpreterCallCodeDeltaEvent),
ResponseCodeInterpreterCallCodeDoneEvent(ResponseCodeInterpreterCallCodeDoneEvent),
ResponseCodeInterpreterCallCompletedEvent(ResponseCodeInterpreterCallCompletedEvent),
ResponseCodeInterpreterCallInProgressEvent(ResponseCodeInterpreterCallInProgressEvent),
ResponseCodeInterpreterCallInterpretingEvent(ResponseCodeInterpreterCallInterpretingEvent),
ResponseCompletedEvent(ResponseCompletedEvent),
ResponseContentPartAddedEvent(ResponseContentPartAddedEvent),
ResponseContentPartDoneEvent(ResponseContentPartDoneEvent),
ResponseCreatedEvent(ResponseCreatedEvent),
ResponseErrorEvent(ResponseErrorEvent),
ResponseFileSearchCallCompletedEvent(ResponseFileSearchCallCompletedEvent),
ResponseFileSearchCallInProgressEvent(ResponseFileSearchCallInProgressEvent),
ResponseFileSearchCallSearchingEvent(ResponseFileSearchCallSearchingEvent),
ResponseFunctionCallArgumentsDeltaEvent(ResponseFunctionCallArgumentsDeltaEvent),
ResponseFunctionCallArgumentsDoneEvent(ResponseFunctionCallArgumentsDoneEvent),
ResponseInProgressEvent(ResponseInProgressEvent),
ResponseFailedEvent(ResponseFailedEvent),
ResponseIncompleteEvent(ResponseIncompleteEvent),
ResponseOutputItemAddedEvent(ResponseOutputItemAddedEvent),
ResponseOutputItemDoneEvent(ResponseOutputItemDoneEvent),
ResponseReasoningSummaryPartAddedEvent(ResponseReasoningSummaryPartAddedEvent),
ResponseReasoningSummaryPartDoneEvent(ResponseReasoningSummaryPartDoneEvent),
ResponseReasoningSummaryTextDeltaEvent(ResponseReasoningSummaryTextDeltaEvent),
ResponseReasoningSummaryTextDoneEvent(ResponseReasoningSummaryTextDoneEvent),
ResponseRefusalDeltaEvent(ResponseRefusalDeltaEvent),
ResponseRefusalDoneEvent(ResponseRefusalDoneEvent),
ResponseTextAnnotationDeltaEvent(ResponseTextAnnotationDeltaEvent),
ResponseTextDeltaEvent(ResponseTextDeltaEvent),
ResponseTextDoneEvent(ResponseTextDoneEvent),
ResponseWebSearchCallCompletedEvent(ResponseWebSearchCallCompletedEvent),
ResponseWebSearchCallInProgressEvent(ResponseWebSearchCallInProgressEvent),
ResponseWebSearchCallSearchingEvent(ResponseWebSearchCallSearchingEvent),
}
Variants§
ResponseAudioDeltaEvent(ResponseAudioDeltaEvent)
ResponseAudioDoneEvent(ResponseAudioDoneEvent)
ResponseAudioTranscriptDeltaEvent(ResponseAudioTranscriptDeltaEvent)
ResponseAudioTranscriptDoneEvent(ResponseAudioTranscriptDoneEvent)
ResponseCodeInterpreterCallCodeDeltaEvent(ResponseCodeInterpreterCallCodeDeltaEvent)
ResponseCodeInterpreterCallCodeDoneEvent(ResponseCodeInterpreterCallCodeDoneEvent)
ResponseCodeInterpreterCallCompletedEvent(ResponseCodeInterpreterCallCompletedEvent)
ResponseCodeInterpreterCallInProgressEvent(ResponseCodeInterpreterCallInProgressEvent)
ResponseCodeInterpreterCallInterpretingEvent(ResponseCodeInterpreterCallInterpretingEvent)
ResponseCompletedEvent(ResponseCompletedEvent)
ResponseContentPartAddedEvent(ResponseContentPartAddedEvent)
ResponseContentPartDoneEvent(ResponseContentPartDoneEvent)
ResponseCreatedEvent(ResponseCreatedEvent)
ResponseErrorEvent(ResponseErrorEvent)
ResponseFileSearchCallCompletedEvent(ResponseFileSearchCallCompletedEvent)
ResponseFileSearchCallInProgressEvent(ResponseFileSearchCallInProgressEvent)
ResponseFileSearchCallSearchingEvent(ResponseFileSearchCallSearchingEvent)
ResponseFunctionCallArgumentsDeltaEvent(ResponseFunctionCallArgumentsDeltaEvent)
ResponseFunctionCallArgumentsDoneEvent(ResponseFunctionCallArgumentsDoneEvent)
ResponseInProgressEvent(ResponseInProgressEvent)
ResponseFailedEvent(ResponseFailedEvent)
ResponseIncompleteEvent(ResponseIncompleteEvent)
ResponseOutputItemAddedEvent(ResponseOutputItemAddedEvent)
ResponseOutputItemDoneEvent(ResponseOutputItemDoneEvent)
ResponseReasoningSummaryPartAddedEvent(ResponseReasoningSummaryPartAddedEvent)
ResponseReasoningSummaryPartDoneEvent(ResponseReasoningSummaryPartDoneEvent)
ResponseReasoningSummaryTextDeltaEvent(ResponseReasoningSummaryTextDeltaEvent)
ResponseReasoningSummaryTextDoneEvent(ResponseReasoningSummaryTextDoneEvent)
ResponseRefusalDeltaEvent(ResponseRefusalDeltaEvent)
ResponseRefusalDoneEvent(ResponseRefusalDoneEvent)
ResponseTextAnnotationDeltaEvent(ResponseTextAnnotationDeltaEvent)
ResponseTextDeltaEvent(ResponseTextDeltaEvent)
ResponseTextDoneEvent(ResponseTextDoneEvent)
ResponseWebSearchCallCompletedEvent(ResponseWebSearchCallCompletedEvent)
ResponseWebSearchCallInProgressEvent(ResponseWebSearchCallInProgressEvent)
ResponseWebSearchCallSearchingEvent(ResponseWebSearchCallSearchingEvent)
Trait Implementations§
Source§impl Clone for ResponseStreamEvent
impl Clone for ResponseStreamEvent
Source§fn clone(&self) -> ResponseStreamEvent
fn clone(&self) -> ResponseStreamEvent
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 ResponseStreamEvent
impl RefUnwindSafe for ResponseStreamEvent
impl Send for ResponseStreamEvent
impl Sync for ResponseStreamEvent
impl Unpin for ResponseStreamEvent
impl UnwindSafe for ResponseStreamEvent
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