pub enum ResponseStreamEvent {
Show 53 variants
AudioDeltaEvent(ResponseAudioDeltaEvent),
AudioDoneEvent(ResponseAudioDoneEvent),
AudioTranscriptDeltaEvent(ResponseAudioTranscriptDeltaEvent),
AudioTranscriptDoneEvent(ResponseAudioTranscriptDoneEvent),
CodeInterpreterCallCodeDeltaEvent(ResponseCodeInterpreterCallCodeDeltaEvent),
CodeInterpreterCallCodeDoneEvent(ResponseCodeInterpreterCallCodeDoneEvent),
CodeInterpreterCallCompletedEvent(ResponseCodeInterpreterCallCompletedEvent),
CodeInterpreterCallInProgressEvent(ResponseCodeInterpreterCallInProgressEvent),
CodeInterpreterCallInterpretingEvent(ResponseCodeInterpreterCallInterpretingEvent),
CompletedEvent(ResponseCompletedEvent),
ContentPartAddedEvent(ResponseContentPartAddedEvent),
ContentPartDoneEvent(ResponseContentPartDoneEvent),
CreatedEvent(ResponseCreatedEvent),
ErrorEvent(ResponseErrorEvent),
FileSearchCallCompletedEvent(ResponseFileSearchCallCompletedEvent),
FileSearchCallInProgressEvent(ResponseFileSearchCallInProgressEvent),
FileSearchCallSearchingEvent(ResponseFileSearchCallSearchingEvent),
FunctionCallArgumentsDeltaEvent(ResponseFunctionCallArgumentsDeltaEvent),
FunctionCallArgumentsDoneEvent(ResponseFunctionCallArgumentsDoneEvent),
InProgressEvent(ResponseInProgressEvent),
FailedEvent(ResponseFailedEvent),
IncompleteEvent(ResponseIncompleteEvent),
OutputItemAddedEvent(ResponseOutputItemAddedEvent),
OutputItemDoneEvent(ResponseOutputItemDoneEvent),
ReasoningSummaryPartAddedEvent(ResponseReasoningSummaryPartAddedEvent),
ReasoningSummaryPartDoneEvent(ResponseReasoningSummaryPartDoneEvent),
ReasoningSummaryTextDeltaEvent(ResponseReasoningSummaryTextDeltaEvent),
ReasoningSummaryTextDoneEvent(ResponseReasoningSummaryTextDoneEvent),
ReasoningTextDeltaEvent(ResponseReasoningTextDeltaEvent),
ReasoningTextDoneEvent(ResponseReasoningTextDoneEvent),
RefusalDeltaEvent(ResponseRefusalDeltaEvent),
RefusalDoneEvent(ResponseRefusalDoneEvent),
TextDeltaEvent(ResponseTextDeltaEvent),
TextDoneEvent(ResponseTextDoneEvent),
WebSearchCallCompletedEvent(ResponseWebSearchCallCompletedEvent),
WebSearchCallInProgressEvent(ResponseWebSearchCallInProgressEvent),
WebSearchCallSearchingEvent(ResponseWebSearchCallSearchingEvent),
ImageGenCallCompletedEvent(ResponseImageGenCallCompletedEvent),
ImageGenCallGeneratingEvent(ResponseImageGenCallGeneratingEvent),
ImageGenCallInProgressEvent(ResponseImageGenCallInProgressEvent),
ImageGenCallPartialImageEvent(ResponseImageGenCallPartialImageEvent),
McpCallArgumentsDeltaEvent(ResponseMcpCallArgumentsDeltaEvent),
McpCallArgumentsDoneEvent(ResponseMcpCallArgumentsDoneEvent),
McpCallCompletedEvent(ResponseMcpCallCompletedEvent),
McpCallFailedEvent(ResponseMcpCallFailedEvent),
McpCallInProgressEvent(ResponseMcpCallInProgressEvent),
McpListToolsCompletedEvent(ResponseMcpListToolsCompletedEvent),
McpListToolsFailedEvent(ResponseMcpListToolsFailedEvent),
McpListToolsInProgressEvent(ResponseMcpListToolsInProgressEvent),
OutputTextAnnotationAddedEvent(ResponseOutputTextAnnotationAddedEvent),
QueuedEvent(ResponseQueuedEvent),
CustomToolCallInputDeltaEvent(ResponseCustomToolCallInputDeltaEvent),
CustomToolCallInputDoneEvent(ResponseCustomToolCallInputDoneEvent),
}Expand description
ResponseStreamEvent
JSON schema
{
"anyOf": [
{
"$ref": "#/components/schemas/ResponseAudioDeltaEvent"
},
{
"$ref": "#/components/schemas/ResponseAudioDoneEvent"
},
{
"$ref": "#/components/schemas/ResponseAudioTranscriptDeltaEvent"
},
{
"$ref": "#/components/schemas/ResponseAudioTranscriptDoneEvent"
},
{
"$ref": "#/components/schemas/ResponseCodeInterpreterCallCodeDeltaEvent"
},
{
"$ref": "#/components/schemas/ResponseCodeInterpreterCallCodeDoneEvent"
},
{
"$ref": "#/components/schemas/ResponseCodeInterpreterCallCompletedEvent"
},
{
"$ref": "#/components/schemas/ResponseCodeInterpreterCallInProgressEvent"
},
{
"$ref": "#/components/schemas/ResponseCodeInterpreterCallInterpretingEvent"
},
{
"$ref": "#/components/schemas/ResponseCompletedEvent"
},
{
"$ref": "#/components/schemas/ResponseContentPartAddedEvent"
},
{
"$ref": "#/components/schemas/ResponseContentPartDoneEvent"
},
{
"$ref": "#/components/schemas/ResponseCreatedEvent"
},
{
"$ref": "#/components/schemas/ResponseErrorEvent"
},
{
"$ref": "#/components/schemas/ResponseFileSearchCallCompletedEvent"
},
{
"$ref": "#/components/schemas/ResponseFileSearchCallInProgressEvent"
},
{
"$ref": "#/components/schemas/ResponseFileSearchCallSearchingEvent"
},
{
"$ref": "#/components/schemas/ResponseFunctionCallArgumentsDeltaEvent"
},
{
"$ref": "#/components/schemas/ResponseFunctionCallArgumentsDoneEvent"
},
{
"$ref": "#/components/schemas/ResponseInProgressEvent"
},
{
"$ref": "#/components/schemas/ResponseFailedEvent"
},
{
"$ref": "#/components/schemas/ResponseIncompleteEvent"
},
{
"$ref": "#/components/schemas/ResponseOutputItemAddedEvent"
},
{
"$ref": "#/components/schemas/ResponseOutputItemDoneEvent"
},
{
"$ref": "#/components/schemas/ResponseReasoningSummaryPartAddedEvent"
},
{
"$ref": "#/components/schemas/ResponseReasoningSummaryPartDoneEvent"
},
{
"$ref": "#/components/schemas/ResponseReasoningSummaryTextDeltaEvent"
},
{
"$ref": "#/components/schemas/ResponseReasoningSummaryTextDoneEvent"
},
{
"$ref": "#/components/schemas/ResponseReasoningTextDeltaEvent"
},
{
"$ref": "#/components/schemas/ResponseReasoningTextDoneEvent"
},
{
"$ref": "#/components/schemas/ResponseRefusalDeltaEvent"
},
{
"$ref": "#/components/schemas/ResponseRefusalDoneEvent"
},
{
"$ref": "#/components/schemas/ResponseTextDeltaEvent"
},
{
"$ref": "#/components/schemas/ResponseTextDoneEvent"
},
{
"$ref": "#/components/schemas/ResponseWebSearchCallCompletedEvent"
},
{
"$ref": "#/components/schemas/ResponseWebSearchCallInProgressEvent"
},
{
"$ref": "#/components/schemas/ResponseWebSearchCallSearchingEvent"
},
{
"$ref": "#/components/schemas/ResponseImageGenCallCompletedEvent"
},
{
"$ref": "#/components/schemas/ResponseImageGenCallGeneratingEvent"
},
{
"$ref": "#/components/schemas/ResponseImageGenCallInProgressEvent"
},
{
"$ref": "#/components/schemas/ResponseImageGenCallPartialImageEvent"
},
{
"$ref": "#/components/schemas/ResponseMCPCallArgumentsDeltaEvent"
},
{
"$ref": "#/components/schemas/ResponseMCPCallArgumentsDoneEvent"
},
{
"$ref": "#/components/schemas/ResponseMCPCallCompletedEvent"
},
{
"$ref": "#/components/schemas/ResponseMCPCallFailedEvent"
},
{
"$ref": "#/components/schemas/ResponseMCPCallInProgressEvent"
},
{
"$ref": "#/components/schemas/ResponseMCPListToolsCompletedEvent"
},
{
"$ref": "#/components/schemas/ResponseMCPListToolsFailedEvent"
},
{
"$ref": "#/components/schemas/ResponseMCPListToolsInProgressEvent"
},
{
"$ref": "#/components/schemas/ResponseOutputTextAnnotationAddedEvent"
},
{
"$ref": "#/components/schemas/ResponseQueuedEvent"
},
{
"$ref": "#/components/schemas/ResponseCustomToolCallInputDeltaEvent"
},
{
"$ref": "#/components/schemas/ResponseCustomToolCallInputDoneEvent"
}
]
}Variants§
AudioDeltaEvent(ResponseAudioDeltaEvent)
AudioDoneEvent(ResponseAudioDoneEvent)
AudioTranscriptDeltaEvent(ResponseAudioTranscriptDeltaEvent)
AudioTranscriptDoneEvent(ResponseAudioTranscriptDoneEvent)
CodeInterpreterCallCodeDeltaEvent(ResponseCodeInterpreterCallCodeDeltaEvent)
CodeInterpreterCallCodeDoneEvent(ResponseCodeInterpreterCallCodeDoneEvent)
CodeInterpreterCallCompletedEvent(ResponseCodeInterpreterCallCompletedEvent)
CodeInterpreterCallInProgressEvent(ResponseCodeInterpreterCallInProgressEvent)
CodeInterpreterCallInterpretingEvent(ResponseCodeInterpreterCallInterpretingEvent)
CompletedEvent(ResponseCompletedEvent)
ContentPartAddedEvent(ResponseContentPartAddedEvent)
ContentPartDoneEvent(ResponseContentPartDoneEvent)
CreatedEvent(ResponseCreatedEvent)
ErrorEvent(ResponseErrorEvent)
FileSearchCallCompletedEvent(ResponseFileSearchCallCompletedEvent)
FileSearchCallInProgressEvent(ResponseFileSearchCallInProgressEvent)
FileSearchCallSearchingEvent(ResponseFileSearchCallSearchingEvent)
FunctionCallArgumentsDeltaEvent(ResponseFunctionCallArgumentsDeltaEvent)
FunctionCallArgumentsDoneEvent(ResponseFunctionCallArgumentsDoneEvent)
InProgressEvent(ResponseInProgressEvent)
FailedEvent(ResponseFailedEvent)
IncompleteEvent(ResponseIncompleteEvent)
OutputItemAddedEvent(ResponseOutputItemAddedEvent)
OutputItemDoneEvent(ResponseOutputItemDoneEvent)
ReasoningSummaryPartAddedEvent(ResponseReasoningSummaryPartAddedEvent)
ReasoningSummaryPartDoneEvent(ResponseReasoningSummaryPartDoneEvent)
ReasoningSummaryTextDeltaEvent(ResponseReasoningSummaryTextDeltaEvent)
ReasoningSummaryTextDoneEvent(ResponseReasoningSummaryTextDoneEvent)
ReasoningTextDeltaEvent(ResponseReasoningTextDeltaEvent)
ReasoningTextDoneEvent(ResponseReasoningTextDoneEvent)
RefusalDeltaEvent(ResponseRefusalDeltaEvent)
RefusalDoneEvent(ResponseRefusalDoneEvent)
TextDeltaEvent(ResponseTextDeltaEvent)
TextDoneEvent(ResponseTextDoneEvent)
WebSearchCallCompletedEvent(ResponseWebSearchCallCompletedEvent)
WebSearchCallInProgressEvent(ResponseWebSearchCallInProgressEvent)
WebSearchCallSearchingEvent(ResponseWebSearchCallSearchingEvent)
ImageGenCallCompletedEvent(ResponseImageGenCallCompletedEvent)
ImageGenCallGeneratingEvent(ResponseImageGenCallGeneratingEvent)
ImageGenCallInProgressEvent(ResponseImageGenCallInProgressEvent)
ImageGenCallPartialImageEvent(ResponseImageGenCallPartialImageEvent)
McpCallArgumentsDeltaEvent(ResponseMcpCallArgumentsDeltaEvent)
McpCallArgumentsDoneEvent(ResponseMcpCallArgumentsDoneEvent)
McpCallCompletedEvent(ResponseMcpCallCompletedEvent)
McpCallFailedEvent(ResponseMcpCallFailedEvent)
McpCallInProgressEvent(ResponseMcpCallInProgressEvent)
McpListToolsCompletedEvent(ResponseMcpListToolsCompletedEvent)
McpListToolsFailedEvent(ResponseMcpListToolsFailedEvent)
McpListToolsInProgressEvent(ResponseMcpListToolsInProgressEvent)
OutputTextAnnotationAddedEvent(ResponseOutputTextAnnotationAddedEvent)
QueuedEvent(ResponseQueuedEvent)
CustomToolCallInputDeltaEvent(ResponseCustomToolCallInputDeltaEvent)
CustomToolCallInputDoneEvent(ResponseCustomToolCallInputDoneEvent)
Trait Implementations§
Source§impl Clone for ResponseStreamEvent
impl Clone for ResponseStreamEvent
Source§fn clone(&self) -> ResponseStreamEvent
fn clone(&self) -> ResponseStreamEvent
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 ResponseStreamEvent
impl Debug for ResponseStreamEvent
Source§impl<'de> Deserialize<'de> for ResponseStreamEvent
impl<'de> Deserialize<'de> for ResponseStreamEvent
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
Source§impl From<ResponseAudioDeltaEvent> for ResponseStreamEvent
impl From<ResponseAudioDeltaEvent> for ResponseStreamEvent
Source§fn from(value: ResponseAudioDeltaEvent) -> Self
fn from(value: ResponseAudioDeltaEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseAudioDoneEvent> for ResponseStreamEvent
impl From<ResponseAudioDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseAudioDoneEvent) -> Self
fn from(value: ResponseAudioDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseAudioTranscriptDeltaEvent> for ResponseStreamEvent
impl From<ResponseAudioTranscriptDeltaEvent> for ResponseStreamEvent
Source§fn from(value: ResponseAudioTranscriptDeltaEvent) -> Self
fn from(value: ResponseAudioTranscriptDeltaEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseAudioTranscriptDoneEvent> for ResponseStreamEvent
impl From<ResponseAudioTranscriptDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseAudioTranscriptDoneEvent) -> Self
fn from(value: ResponseAudioTranscriptDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseCodeInterpreterCallCodeDeltaEvent> for ResponseStreamEvent
impl From<ResponseCodeInterpreterCallCodeDeltaEvent> for ResponseStreamEvent
Source§fn from(value: ResponseCodeInterpreterCallCodeDeltaEvent) -> Self
fn from(value: ResponseCodeInterpreterCallCodeDeltaEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseCodeInterpreterCallCodeDoneEvent> for ResponseStreamEvent
impl From<ResponseCodeInterpreterCallCodeDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseCodeInterpreterCallCodeDoneEvent) -> Self
fn from(value: ResponseCodeInterpreterCallCodeDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseCodeInterpreterCallCompletedEvent> for ResponseStreamEvent
impl From<ResponseCodeInterpreterCallCompletedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseCodeInterpreterCallCompletedEvent) -> Self
fn from(value: ResponseCodeInterpreterCallCompletedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseCodeInterpreterCallInProgressEvent> for ResponseStreamEvent
impl From<ResponseCodeInterpreterCallInProgressEvent> for ResponseStreamEvent
Source§fn from(value: ResponseCodeInterpreterCallInProgressEvent) -> Self
fn from(value: ResponseCodeInterpreterCallInProgressEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseCodeInterpreterCallInterpretingEvent> for ResponseStreamEvent
impl From<ResponseCodeInterpreterCallInterpretingEvent> for ResponseStreamEvent
Source§fn from(value: ResponseCodeInterpreterCallInterpretingEvent) -> Self
fn from(value: ResponseCodeInterpreterCallInterpretingEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseCompletedEvent> for ResponseStreamEvent
impl From<ResponseCompletedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseCompletedEvent) -> Self
fn from(value: ResponseCompletedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseContentPartAddedEvent> for ResponseStreamEvent
impl From<ResponseContentPartAddedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseContentPartAddedEvent) -> Self
fn from(value: ResponseContentPartAddedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseContentPartDoneEvent> for ResponseStreamEvent
impl From<ResponseContentPartDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseContentPartDoneEvent) -> Self
fn from(value: ResponseContentPartDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseCreatedEvent> for ResponseStreamEvent
impl From<ResponseCreatedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseCreatedEvent) -> Self
fn from(value: ResponseCreatedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseCustomToolCallInputDeltaEvent> for ResponseStreamEvent
impl From<ResponseCustomToolCallInputDeltaEvent> for ResponseStreamEvent
Source§fn from(value: ResponseCustomToolCallInputDeltaEvent) -> Self
fn from(value: ResponseCustomToolCallInputDeltaEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseCustomToolCallInputDoneEvent> for ResponseStreamEvent
impl From<ResponseCustomToolCallInputDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseCustomToolCallInputDoneEvent) -> Self
fn from(value: ResponseCustomToolCallInputDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseErrorEvent> for ResponseStreamEvent
impl From<ResponseErrorEvent> for ResponseStreamEvent
Source§fn from(value: ResponseErrorEvent) -> Self
fn from(value: ResponseErrorEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseFailedEvent> for ResponseStreamEvent
impl From<ResponseFailedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseFailedEvent) -> Self
fn from(value: ResponseFailedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseFileSearchCallCompletedEvent> for ResponseStreamEvent
impl From<ResponseFileSearchCallCompletedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseFileSearchCallCompletedEvent) -> Self
fn from(value: ResponseFileSearchCallCompletedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseFileSearchCallInProgressEvent> for ResponseStreamEvent
impl From<ResponseFileSearchCallInProgressEvent> for ResponseStreamEvent
Source§fn from(value: ResponseFileSearchCallInProgressEvent) -> Self
fn from(value: ResponseFileSearchCallInProgressEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseFileSearchCallSearchingEvent> for ResponseStreamEvent
impl From<ResponseFileSearchCallSearchingEvent> for ResponseStreamEvent
Source§fn from(value: ResponseFileSearchCallSearchingEvent) -> Self
fn from(value: ResponseFileSearchCallSearchingEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseFunctionCallArgumentsDeltaEvent> for ResponseStreamEvent
impl From<ResponseFunctionCallArgumentsDeltaEvent> for ResponseStreamEvent
Source§fn from(value: ResponseFunctionCallArgumentsDeltaEvent) -> Self
fn from(value: ResponseFunctionCallArgumentsDeltaEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseFunctionCallArgumentsDoneEvent> for ResponseStreamEvent
impl From<ResponseFunctionCallArgumentsDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseFunctionCallArgumentsDoneEvent) -> Self
fn from(value: ResponseFunctionCallArgumentsDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseImageGenCallCompletedEvent> for ResponseStreamEvent
impl From<ResponseImageGenCallCompletedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseImageGenCallCompletedEvent) -> Self
fn from(value: ResponseImageGenCallCompletedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseImageGenCallGeneratingEvent> for ResponseStreamEvent
impl From<ResponseImageGenCallGeneratingEvent> for ResponseStreamEvent
Source§fn from(value: ResponseImageGenCallGeneratingEvent) -> Self
fn from(value: ResponseImageGenCallGeneratingEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseImageGenCallInProgressEvent> for ResponseStreamEvent
impl From<ResponseImageGenCallInProgressEvent> for ResponseStreamEvent
Source§fn from(value: ResponseImageGenCallInProgressEvent) -> Self
fn from(value: ResponseImageGenCallInProgressEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseImageGenCallPartialImageEvent> for ResponseStreamEvent
impl From<ResponseImageGenCallPartialImageEvent> for ResponseStreamEvent
Source§fn from(value: ResponseImageGenCallPartialImageEvent) -> Self
fn from(value: ResponseImageGenCallPartialImageEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseInProgressEvent> for ResponseStreamEvent
impl From<ResponseInProgressEvent> for ResponseStreamEvent
Source§fn from(value: ResponseInProgressEvent) -> Self
fn from(value: ResponseInProgressEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseIncompleteEvent> for ResponseStreamEvent
impl From<ResponseIncompleteEvent> for ResponseStreamEvent
Source§fn from(value: ResponseIncompleteEvent) -> Self
fn from(value: ResponseIncompleteEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseMcpCallArgumentsDeltaEvent> for ResponseStreamEvent
impl From<ResponseMcpCallArgumentsDeltaEvent> for ResponseStreamEvent
Source§fn from(value: ResponseMcpCallArgumentsDeltaEvent) -> Self
fn from(value: ResponseMcpCallArgumentsDeltaEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseMcpCallArgumentsDoneEvent> for ResponseStreamEvent
impl From<ResponseMcpCallArgumentsDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseMcpCallArgumentsDoneEvent) -> Self
fn from(value: ResponseMcpCallArgumentsDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseMcpCallCompletedEvent> for ResponseStreamEvent
impl From<ResponseMcpCallCompletedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseMcpCallCompletedEvent) -> Self
fn from(value: ResponseMcpCallCompletedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseMcpCallFailedEvent> for ResponseStreamEvent
impl From<ResponseMcpCallFailedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseMcpCallFailedEvent) -> Self
fn from(value: ResponseMcpCallFailedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseMcpCallInProgressEvent> for ResponseStreamEvent
impl From<ResponseMcpCallInProgressEvent> for ResponseStreamEvent
Source§fn from(value: ResponseMcpCallInProgressEvent) -> Self
fn from(value: ResponseMcpCallInProgressEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseMcpListToolsCompletedEvent> for ResponseStreamEvent
impl From<ResponseMcpListToolsCompletedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseMcpListToolsCompletedEvent) -> Self
fn from(value: ResponseMcpListToolsCompletedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseMcpListToolsFailedEvent> for ResponseStreamEvent
impl From<ResponseMcpListToolsFailedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseMcpListToolsFailedEvent) -> Self
fn from(value: ResponseMcpListToolsFailedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseMcpListToolsInProgressEvent> for ResponseStreamEvent
impl From<ResponseMcpListToolsInProgressEvent> for ResponseStreamEvent
Source§fn from(value: ResponseMcpListToolsInProgressEvent) -> Self
fn from(value: ResponseMcpListToolsInProgressEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseOutputItemAddedEvent> for ResponseStreamEvent
impl From<ResponseOutputItemAddedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseOutputItemAddedEvent) -> Self
fn from(value: ResponseOutputItemAddedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseOutputItemDoneEvent> for ResponseStreamEvent
impl From<ResponseOutputItemDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseOutputItemDoneEvent) -> Self
fn from(value: ResponseOutputItemDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseOutputTextAnnotationAddedEvent> for ResponseStreamEvent
impl From<ResponseOutputTextAnnotationAddedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseOutputTextAnnotationAddedEvent) -> Self
fn from(value: ResponseOutputTextAnnotationAddedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseQueuedEvent> for ResponseStreamEvent
impl From<ResponseQueuedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseQueuedEvent) -> Self
fn from(value: ResponseQueuedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseReasoningSummaryPartAddedEvent> for ResponseStreamEvent
impl From<ResponseReasoningSummaryPartAddedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseReasoningSummaryPartAddedEvent) -> Self
fn from(value: ResponseReasoningSummaryPartAddedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseReasoningSummaryPartDoneEvent> for ResponseStreamEvent
impl From<ResponseReasoningSummaryPartDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseReasoningSummaryPartDoneEvent) -> Self
fn from(value: ResponseReasoningSummaryPartDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseReasoningSummaryTextDeltaEvent> for ResponseStreamEvent
impl From<ResponseReasoningSummaryTextDeltaEvent> for ResponseStreamEvent
Source§fn from(value: ResponseReasoningSummaryTextDeltaEvent) -> Self
fn from(value: ResponseReasoningSummaryTextDeltaEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseReasoningSummaryTextDoneEvent> for ResponseStreamEvent
impl From<ResponseReasoningSummaryTextDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseReasoningSummaryTextDoneEvent) -> Self
fn from(value: ResponseReasoningSummaryTextDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseReasoningTextDeltaEvent> for ResponseStreamEvent
impl From<ResponseReasoningTextDeltaEvent> for ResponseStreamEvent
Source§fn from(value: ResponseReasoningTextDeltaEvent) -> Self
fn from(value: ResponseReasoningTextDeltaEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseReasoningTextDoneEvent> for ResponseStreamEvent
impl From<ResponseReasoningTextDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseReasoningTextDoneEvent) -> Self
fn from(value: ResponseReasoningTextDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseRefusalDeltaEvent> for ResponseStreamEvent
impl From<ResponseRefusalDeltaEvent> for ResponseStreamEvent
Source§fn from(value: ResponseRefusalDeltaEvent) -> Self
fn from(value: ResponseRefusalDeltaEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseRefusalDoneEvent> for ResponseStreamEvent
impl From<ResponseRefusalDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseRefusalDoneEvent) -> Self
fn from(value: ResponseRefusalDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseStreamEvent> for ResponsesServerEvent
impl From<ResponseStreamEvent> for ResponsesServerEvent
Source§fn from(value: ResponseStreamEvent) -> Self
fn from(value: ResponseStreamEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseTextDeltaEvent> for ResponseStreamEvent
impl From<ResponseTextDeltaEvent> for ResponseStreamEvent
Source§fn from(value: ResponseTextDeltaEvent) -> Self
fn from(value: ResponseTextDeltaEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseTextDoneEvent> for ResponseStreamEvent
impl From<ResponseTextDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseTextDoneEvent) -> Self
fn from(value: ResponseTextDoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseWebSearchCallCompletedEvent> for ResponseStreamEvent
impl From<ResponseWebSearchCallCompletedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseWebSearchCallCompletedEvent) -> Self
fn from(value: ResponseWebSearchCallCompletedEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseWebSearchCallInProgressEvent> for ResponseStreamEvent
impl From<ResponseWebSearchCallInProgressEvent> for ResponseStreamEvent
Source§fn from(value: ResponseWebSearchCallInProgressEvent) -> Self
fn from(value: ResponseWebSearchCallInProgressEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponseWebSearchCallSearchingEvent> for ResponseStreamEvent
impl From<ResponseWebSearchCallSearchingEvent> for ResponseStreamEvent
Source§fn from(value: ResponseWebSearchCallSearchingEvent) -> Self
fn from(value: ResponseWebSearchCallSearchingEvent) -> Self
Converts to this type from the input type.
Source§impl From<ResponsesServerEvent> for ResponseStreamEvent
impl From<ResponsesServerEvent> for ResponseStreamEvent
Source§fn from(value: ResponsesServerEvent) -> Self
fn from(value: ResponsesServerEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseStreamEvent
impl RefUnwindSafe for ResponseStreamEvent
impl Send for ResponseStreamEvent
impl Sync for ResponseStreamEvent
impl Unpin for ResponseStreamEvent
impl UnsafeUnpin 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