pub struct NativeTools {
pub openai: OpenAINativeTools,
pub gemini: GeminiNativeTools,
pub claude: ClaudeNativeTools,
}Expand description
Provider-native tool configuration.
Fields§
§openai: OpenAINativeToolsOpenAI Responses API hosted tools.
gemini: GeminiNativeToolsGemini hosted and client-side tools.
claude: ClaudeNativeToolsClaude Anthropic-defined and server tools.
Implementations§
Trait Implementations§
Source§impl Clone for NativeTools
impl Clone for NativeTools
Source§fn clone(&self) -> NativeTools
fn clone(&self) -> NativeTools
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 NativeTools
impl Debug for NativeTools
Source§impl Default for NativeTools
impl Default for NativeTools
Source§fn default() -> NativeTools
fn default() -> NativeTools
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NativeTools
impl<'de> Deserialize<'de> for NativeTools
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 NativeTools
Source§impl PartialEq for NativeTools
impl PartialEq for NativeTools
Source§impl Serialize for NativeTools
impl Serialize for NativeTools
impl StructuralPartialEq for NativeTools
Auto Trait Implementations§
impl Freeze for NativeTools
impl RefUnwindSafe for NativeTools
impl Send for NativeTools
impl Sync for NativeTools
impl Unpin for NativeTools
impl UnsafeUnpin for NativeTools
impl UnwindSafe for NativeTools
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