#[non_exhaustive]pub enum ResponseItemTypeKnown {
Show 33 variants
Message,
FileSearchCall,
ComputerCall,
ComputerCallOutput,
WebSearchCall,
FunctionCall,
FunctionCallOutput,
ToolSearchCall,
ToolSearchOutput,
AdditionalTools,
Reasoning,
Compaction,
ImageGenerationCall,
CodeInterpreterCall,
LocalShellCall,
LocalShellCallOutput,
ShellCall,
ShellCallOutput,
ApplyPatchCall,
ApplyPatchCallOutput,
McpListTools,
McpApprovalRequest,
McpApprovalResponse,
McpCall,
CustomToolCall,
CustomToolCallOutput,
Program,
ProgramOutput,
MultiAgentCall,
MultiAgentCallOutput,
AgentMessage,
CompactionTrigger,
ItemReference,
}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.
Message
FileSearchCall
ComputerCall
ComputerCallOutput
WebSearchCall
FunctionCall
FunctionCallOutput
ToolSearchCall
ToolSearchOutput
AdditionalTools
Reasoning
Compaction
ImageGenerationCall
CodeInterpreterCall
LocalShellCall
LocalShellCallOutput
ShellCall
ShellCallOutput
ApplyPatchCall
ApplyPatchCallOutput
McpListTools
McpApprovalRequest
McpApprovalResponse
McpCall
CustomToolCall
CustomToolCallOutput
Program
ProgramOutput
MultiAgentCall
MultiAgentCallOutput
AgentMessage
CompactionTrigger
ItemReference
Implementations§
Trait Implementations§
Source§impl Clone for ResponseItemTypeKnown
impl Clone for ResponseItemTypeKnown
Source§fn clone(&self) -> ResponseItemTypeKnown
fn clone(&self) -> ResponseItemTypeKnown
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 ResponseItemTypeKnown
impl Debug for ResponseItemTypeKnown
Source§impl<'de> Deserialize<'de> for ResponseItemTypeKnown
impl<'de> Deserialize<'de> for ResponseItemTypeKnown
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 ResponseItemTypeKnown
Source§impl PartialEq for ResponseItemTypeKnown
impl PartialEq for ResponseItemTypeKnown
Source§impl Serialize for ResponseItemTypeKnown
impl Serialize for ResponseItemTypeKnown
impl StructuralPartialEq for ResponseItemTypeKnown
Auto Trait Implementations§
impl Freeze for ResponseItemTypeKnown
impl RefUnwindSafe for ResponseItemTypeKnown
impl Send for ResponseItemTypeKnown
impl Sync for ResponseItemTypeKnown
impl Unpin for ResponseItemTypeKnown
impl UnsafeUnpin for ResponseItemTypeKnown
impl UnwindSafe for ResponseItemTypeKnown
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