Skip to main content

ResponseStreamEvent

Enum ResponseStreamEvent 

Source
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

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for ResponseStreamEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ResponseStreamEvent

Source§

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

Source§

fn from(value: ResponseAudioDeltaEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseAudioDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseAudioDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseAudioTranscriptDeltaEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseAudioTranscriptDeltaEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseAudioTranscriptDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseAudioTranscriptDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseCodeInterpreterCallCodeDeltaEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseCodeInterpreterCallCodeDeltaEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseCodeInterpreterCallCodeDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseCodeInterpreterCallCodeDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseCodeInterpreterCallCompletedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseCodeInterpreterCallCompletedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseCodeInterpreterCallInProgressEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseCodeInterpreterCallInProgressEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseCodeInterpreterCallInterpretingEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseCodeInterpreterCallInterpretingEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseCompletedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseCompletedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseContentPartAddedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseContentPartAddedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseContentPartDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseContentPartDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseCreatedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseCreatedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseCustomToolCallInputDeltaEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseCustomToolCallInputDeltaEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseCustomToolCallInputDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseCustomToolCallInputDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseErrorEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseErrorEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseFailedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseFailedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseFileSearchCallCompletedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseFileSearchCallCompletedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseFileSearchCallInProgressEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseFileSearchCallInProgressEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseFileSearchCallSearchingEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseFileSearchCallSearchingEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseFunctionCallArgumentsDeltaEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseFunctionCallArgumentsDeltaEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseFunctionCallArgumentsDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseFunctionCallArgumentsDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseImageGenCallCompletedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseImageGenCallCompletedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseImageGenCallGeneratingEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseImageGenCallGeneratingEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseImageGenCallInProgressEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseImageGenCallInProgressEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseImageGenCallPartialImageEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseImageGenCallPartialImageEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseInProgressEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseInProgressEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseIncompleteEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseIncompleteEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseMcpCallArgumentsDeltaEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseMcpCallArgumentsDeltaEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseMcpCallArgumentsDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseMcpCallArgumentsDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseMcpCallCompletedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseMcpCallCompletedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseMcpCallFailedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseMcpCallFailedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseMcpCallInProgressEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseMcpCallInProgressEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseMcpListToolsCompletedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseMcpListToolsCompletedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseMcpListToolsFailedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseMcpListToolsFailedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseMcpListToolsInProgressEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseMcpListToolsInProgressEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseOutputItemAddedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseOutputItemAddedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseOutputItemDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseOutputItemDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseOutputTextAnnotationAddedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseOutputTextAnnotationAddedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseQueuedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseQueuedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseReasoningSummaryPartAddedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseReasoningSummaryPartAddedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseReasoningSummaryPartDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseReasoningSummaryPartDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseReasoningSummaryTextDeltaEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseReasoningSummaryTextDeltaEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseReasoningSummaryTextDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseReasoningSummaryTextDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseReasoningTextDeltaEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseReasoningTextDeltaEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseReasoningTextDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseReasoningTextDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseRefusalDeltaEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseRefusalDeltaEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseRefusalDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseRefusalDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseStreamEvent> for ResponsesServerEvent

Source§

fn from(value: ResponseStreamEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseTextDeltaEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseTextDeltaEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseTextDoneEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseTextDoneEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseWebSearchCallCompletedEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseWebSearchCallCompletedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseWebSearchCallInProgressEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseWebSearchCallInProgressEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseWebSearchCallSearchingEvent> for ResponseStreamEvent

Source§

fn from(value: ResponseWebSearchCallSearchingEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResponsesServerEvent> for ResponseStreamEvent

Source§

fn from(value: ResponsesServerEvent) -> Self

Converts to this type from the input type.
Source§

impl Serialize for ResponseStreamEvent

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.