pub enum ToolCallContentType {
FunctionCall(FunctionCallContent),
CodeExecutionCall(CodeExecutionCallContent),
UrlContextCall(UrlContextCallContent),
McpServerToolCall(McpServerToolCallContent),
GoogleSearchCall(GoogleSearchCallContent),
FileSearchCall(FileSearchCallContent),
GoogleMapsCall(GoogleMapsCallContent),
}Expand description
The type oneof of ToolCallContent, as an owned value.
Variants§
FunctionCall(FunctionCallContent)
CodeExecutionCall(CodeExecutionCallContent)
UrlContextCall(UrlContextCallContent)
McpServerToolCall(McpServerToolCallContent)
GoogleSearchCall(GoogleSearchCallContent)
FileSearchCall(FileSearchCallContent)
GoogleMapsCall(GoogleMapsCallContent)
Trait Implementations§
Source§impl Clone for ToolCallContentType
impl Clone for ToolCallContentType
Source§fn clone(&self) -> ToolCallContentType
fn clone(&self) -> ToolCallContentType
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 ToolCallContentType
impl Debug for ToolCallContentType
Source§impl PartialEq for ToolCallContentType
impl PartialEq for ToolCallContentType
impl StructuralPartialEq for ToolCallContentType
Auto Trait Implementations§
impl Freeze for ToolCallContentType
impl RefUnwindSafe for ToolCallContentType
impl Send for ToolCallContentType
impl Sync for ToolCallContentType
impl Unpin for ToolCallContentType
impl UnsafeUnpin for ToolCallContentType
impl UnwindSafe for ToolCallContentType
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