pub enum NativeToolKind {
WebSearch,
CodeExecution,
FileSearch,
ImageGeneration,
McpServer,
ToolSearch,
GoogleSearch,
}Expand description
Provider-executed native tool families.
Variants§
WebSearch
Provider web search tool.
CodeExecution
Provider code execution tool.
FileSearch
Provider file search tool.
ImageGeneration
Provider image generation tool.
McpServer
Provider-hosted MCP server tool.
ToolSearch
Provider tool-search/discovery tool.
GoogleSearch
Gemini Google Search tool.
Implementations§
Trait Implementations§
Source§impl Clone for NativeToolKind
impl Clone for NativeToolKind
Source§fn clone(&self) -> NativeToolKind
fn clone(&self) -> NativeToolKind
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 moreimpl Copy for NativeToolKind
Source§impl Debug for NativeToolKind
impl Debug for NativeToolKind
Source§impl<'de> Deserialize<'de> for NativeToolKind
impl<'de> Deserialize<'de> for NativeToolKind
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 NativeToolKind
Source§impl Ord for NativeToolKind
impl Ord for NativeToolKind
Source§fn cmp(&self, other: &NativeToolKind) -> Ordering
fn cmp(&self, other: &NativeToolKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NativeToolKind
impl PartialEq for NativeToolKind
Source§impl PartialOrd for NativeToolKind
impl PartialOrd for NativeToolKind
Source§impl Serialize for NativeToolKind
impl Serialize for NativeToolKind
impl StructuralPartialEq for NativeToolKind
Auto Trait Implementations§
impl Freeze for NativeToolKind
impl RefUnwindSafe for NativeToolKind
impl Send for NativeToolKind
impl Sync for NativeToolKind
impl Unpin for NativeToolKind
impl UnsafeUnpin for NativeToolKind
impl UnwindSafe for NativeToolKind
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