pub enum WebSearchToolCallAction {
Search(WebSearchActionSearch),
OpenPage(WebSearchActionOpenPage),
Find(WebSearchActionFind),
}
Expand description
An object describing the specific action taken in this web search call. Includes details on how the model used the web (search, open_page, find).
Variants§
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§const fn clone_from(&mut self, source: &Self)
const 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§fn eq(&self, other: &WebSearchToolCallAction) -> bool
fn eq(&self, other: &WebSearchToolCallAction) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.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