pub enum WebSearchToolCallAction {
Search(WebSearchActionSearch),
OpenPage(WebSearchActionOpenPage),
Find(WebSearchActionFind),
}Variants§
Search(WebSearchActionSearch)
Action type “search” - Performs a web search query.
OpenPage(WebSearchActionOpenPage)
Action type “open_page” - Opens a specific URL from search results.
Find(WebSearchActionFind)
Action type “find”: Searches for a pattern within a loaded page.
Trait Implementations§
Source§impl Clone for WebSearchToolCallAction
impl Clone for WebSearchToolCallAction
Source§fn clone(&self) -> WebSearchToolCallAction
fn clone(&self) -> WebSearchToolCallAction
Returns a duplicate of the value. Read more
1.0.0 · 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 WebSearchToolCallAction
impl Debug for WebSearchToolCallAction
Source§impl<'de> Deserialize<'de> for WebSearchToolCallAction
impl<'de> Deserialize<'de> for WebSearchToolCallAction
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
Source§impl PartialEq for WebSearchToolCallAction
impl PartialEq for WebSearchToolCallAction
Source§impl Serialize for WebSearchToolCallAction
impl Serialize for WebSearchToolCallAction
impl StructuralPartialEq for WebSearchToolCallAction
Auto Trait Implementations§
impl Freeze for WebSearchToolCallAction
impl RefUnwindSafe for WebSearchToolCallAction
impl Send for WebSearchToolCallAction
impl Sync for WebSearchToolCallAction
impl Unpin for WebSearchToolCallAction
impl UnwindSafe for WebSearchToolCallAction
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