#[non_exhaustive]pub enum ResponseOutputItem {
Show 32 variants
MultiAgentCall(ResponseMultiAgentCall),
MultiAgentCallOutput(ResponseMultiAgentCallOutput),
AgentMessage(ResponseAgentMessage),
ConfigurationUpdate(ConfigurationUpdate),
Message(ResponseOutputMessage),
FileSearchCall(FileSearchCall),
FunctionCall(FunctionCall),
FunctionCallOutput(ResponseFunctionCallOutput),
WebSearchCall(WebSearchCall),
ComputerCall(ComputerCall),
ComputerCallOutput(ResponseComputerCallOutput),
Reasoning(ReasoningItem),
Program(Program),
ProgramOutput(ProgramOutput),
ToolSearchCall(ResponseToolSearchCall),
ToolSearchOutput(ResponseToolSearchOutput),
AdditionalTools(ResponseAdditionalTools),
Compaction(ResponseCompaction),
ImageGenerationCall(ImageGenerationCall),
CodeInterpreterCall(CodeInterpreterCall),
LocalShellCall(LocalShellCall),
LocalShellCallOutput(LocalShellCallOutput),
ShellCall(ResponseShellCall),
ShellCallOutput(ResponseShellCallOutput),
ApplyPatchCall(ResponseApplyPatchCall),
ApplyPatchCallOutput(ResponseApplyPatchCallOutput),
McpCall(McpCall),
McpListTools(McpListTools),
McpApprovalRequest(McpApprovalRequest),
McpApprovalResponse(ResponseMcpApprovalResponse),
CustomToolCall(CustomToolCall),
CustomToolCallOutput(ResponseCustomToolCallOutput),
}Expand description
Native output items; input-only messages/references/triggers are excluded. Same-shape items are reused; response-specific required fields use separate structs.
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.
MultiAgentCall(ResponseMultiAgentCall)
MultiAgentCallOutput(ResponseMultiAgentCallOutput)
AgentMessage(ResponseAgentMessage)
ConfigurationUpdate(ConfigurationUpdate)
Message(ResponseOutputMessage)
FileSearchCall(FileSearchCall)
FunctionCall(FunctionCall)
FunctionCallOutput(ResponseFunctionCallOutput)
WebSearchCall(WebSearchCall)
ComputerCall(ComputerCall)
ComputerCallOutput(ResponseComputerCallOutput)
Reasoning(ReasoningItem)
Program(Program)
ProgramOutput(ProgramOutput)
ToolSearchCall(ResponseToolSearchCall)
ToolSearchOutput(ResponseToolSearchOutput)
AdditionalTools(ResponseAdditionalTools)
Compaction(ResponseCompaction)
ImageGenerationCall(ImageGenerationCall)
CodeInterpreterCall(CodeInterpreterCall)
LocalShellCall(LocalShellCall)
LocalShellCallOutput(LocalShellCallOutput)
ShellCall(ResponseShellCall)
ShellCallOutput(ResponseShellCallOutput)
ApplyPatchCall(ResponseApplyPatchCall)
ApplyPatchCallOutput(ResponseApplyPatchCallOutput)
McpCall(McpCall)
McpListTools(McpListTools)
McpApprovalRequest(McpApprovalRequest)
McpApprovalResponse(ResponseMcpApprovalResponse)
CustomToolCall(CustomToolCall)
CustomToolCallOutput(ResponseCustomToolCallOutput)
Implementations§
Trait Implementations§
Source§impl Clone for ResponseOutputItem
impl Clone for ResponseOutputItem
Source§impl Debug for ResponseOutputItem
impl Debug for ResponseOutputItem
Source§impl DeclaredFields for ResponseOutputItem
impl DeclaredFields for ResponseOutputItem
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ResponseOutputItem
impl<'de> Deserialize<'de> for ResponseOutputItem
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 ResponseOutputItem
Source§impl PartialEq for ResponseOutputItem
impl PartialEq for ResponseOutputItem
Source§impl Serialize for ResponseOutputItem
impl Serialize for ResponseOutputItem
impl StructuralPartialEq for ResponseOutputItem
Auto Trait Implementations§
impl Freeze for ResponseOutputItem
impl RefUnwindSafe for ResponseOutputItem
impl Send for ResponseOutputItem
impl Sync for ResponseOutputItem
impl Unpin for ResponseOutputItem
impl UnsafeUnpin for ResponseOutputItem
impl UnwindSafe for ResponseOutputItem
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