#[non_exhaustive]pub enum ResponseStreamEventTypeKnown {
Show 53 variants
ResponseCreated,
ResponseInProgress,
ResponseCompleted,
ResponseFailed,
ResponseIncomplete,
ResponseQueued,
ResponseOutputItemAdded,
ResponseOutputItemDone,
ResponseContentPartAdded,
ResponseContentPartDone,
ResponseOutputTextDelta,
ResponseOutputTextDone,
ResponseOutputTextAnnotationAdded,
ResponseFunctionCallArgumentsDelta,
ResponseFunctionCallArgumentsDone,
ResponseCustomToolCallInputDelta,
ResponseCustomToolCallInputDone,
ResponseRefusalDelta,
ResponseRefusalDone,
ResponseReasoningSummaryPartAdded,
ResponseReasoningSummaryPartDone,
ResponseReasoningSummaryTextDelta,
ResponseReasoningSummaryTextDone,
ResponseReasoningTextDelta,
ResponseReasoningTextDone,
ResponseAudioDelta,
ResponseAudioDone,
ResponseAudioTranscriptDelta,
ResponseAudioTranscriptDone,
ResponseImageGenerationCallCompleted,
ResponseImageGenerationCallGenerating,
ResponseImageGenerationCallInProgress,
ResponseImageGenerationCallPartialImage,
ResponseFileSearchCallInProgress,
ResponseFileSearchCallSearching,
ResponseFileSearchCallCompleted,
ResponseWebSearchCallInProgress,
ResponseWebSearchCallSearching,
ResponseWebSearchCallCompleted,
ResponseCodeInterpreterCallInProgress,
ResponseCodeInterpreterCallInterpreting,
ResponseCodeInterpreterCallCompleted,
ResponseCodeInterpreterCallCodeDelta,
ResponseCodeInterpreterCallCodeDone,
ResponseMcpCallArgumentsDelta,
ResponseMcpCallArgumentsDone,
ResponseMcpCallInProgress,
ResponseMcpCallCompleted,
ResponseMcpCallFailed,
ResponseMcpListToolsInProgress,
ResponseMcpListToolsCompleted,
ResponseMcpListToolsFailed,
Error,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ResponseCreated
ResponseInProgress
ResponseCompleted
ResponseFailed
ResponseIncomplete
ResponseQueued
ResponseOutputItemAdded
ResponseOutputItemDone
ResponseContentPartAdded
ResponseContentPartDone
ResponseOutputTextDelta
ResponseOutputTextDone
ResponseOutputTextAnnotationAdded
ResponseFunctionCallArgumentsDelta
ResponseFunctionCallArgumentsDone
ResponseCustomToolCallInputDelta
ResponseCustomToolCallInputDone
ResponseRefusalDelta
ResponseRefusalDone
ResponseReasoningSummaryPartAdded
ResponseReasoningSummaryPartDone
ResponseReasoningSummaryTextDelta
ResponseReasoningSummaryTextDone
ResponseReasoningTextDelta
ResponseReasoningTextDone
ResponseAudioDelta
ResponseAudioDone
ResponseAudioTranscriptDelta
ResponseAudioTranscriptDone
ResponseImageGenerationCallCompleted
ResponseImageGenerationCallGenerating
ResponseImageGenerationCallInProgress
ResponseImageGenerationCallPartialImage
ResponseFileSearchCallInProgress
ResponseFileSearchCallSearching
ResponseFileSearchCallCompleted
ResponseWebSearchCallInProgress
ResponseWebSearchCallSearching
ResponseWebSearchCallCompleted
ResponseCodeInterpreterCallInProgress
ResponseCodeInterpreterCallInterpreting
ResponseCodeInterpreterCallCompleted
ResponseCodeInterpreterCallCodeDelta
ResponseCodeInterpreterCallCodeDone
ResponseMcpCallArgumentsDelta
ResponseMcpCallArgumentsDone
ResponseMcpCallInProgress
ResponseMcpCallCompleted
ResponseMcpCallFailed
ResponseMcpListToolsInProgress
ResponseMcpListToolsCompleted
ResponseMcpListToolsFailed
Error
Implementations§
Trait Implementations§
Source§impl Clone for ResponseStreamEventTypeKnown
impl Clone for ResponseStreamEventTypeKnown
Source§fn clone(&self) -> ResponseStreamEventTypeKnown
fn clone(&self) -> ResponseStreamEventTypeKnown
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResponseStreamEventTypeKnown
impl Debug for ResponseStreamEventTypeKnown
Source§impl<'de> Deserialize<'de> for ResponseStreamEventTypeKnown
impl<'de> Deserialize<'de> for ResponseStreamEventTypeKnown
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResponseStreamEventTypeKnown
impl StructuralPartialEq for ResponseStreamEventTypeKnown
Auto Trait Implementations§
impl Freeze for ResponseStreamEventTypeKnown
impl RefUnwindSafe for ResponseStreamEventTypeKnown
impl Send for ResponseStreamEventTypeKnown
impl Sync for ResponseStreamEventTypeKnown
impl Unpin for ResponseStreamEventTypeKnown
impl UnsafeUnpin for ResponseStreamEventTypeKnown
impl UnwindSafe for ResponseStreamEventTypeKnown
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