pub struct WebSearchToolCall {
pub action: WebSearchToolCallAction,
pub id: String,
pub status: WebSearchToolCallStatus,
}Available on crate feature
response-types only.Expand description
Web search tool call output.
Fields§
§action: WebSearchToolCallActionAn object describing the specific action taken in this web search call. Includes details on how the model used the web (search, open_page, find).
id: StringThe unique ID of the web search tool call.
status: WebSearchToolCallStatusThe status of the web search tool call.
Trait Implementations§
Source§impl Clone for WebSearchToolCall
impl Clone for WebSearchToolCall
Source§fn clone(&self) -> WebSearchToolCall
fn clone(&self) -> WebSearchToolCall
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 WebSearchToolCall
impl Debug for WebSearchToolCall
Source§impl<'de> Deserialize<'de> for WebSearchToolCall
impl<'de> Deserialize<'de> for WebSearchToolCall
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 From<WebSearchToolCall> for Item
impl From<WebSearchToolCall> for Item
Source§fn from(call: WebSearchToolCall) -> Self
fn from(call: WebSearchToolCall) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebSearchToolCall
impl PartialEq for WebSearchToolCall
Source§impl Serialize for WebSearchToolCall
impl Serialize for WebSearchToolCall
impl StructuralPartialEq for WebSearchToolCall
Auto Trait Implementations§
impl Freeze for WebSearchToolCall
impl RefUnwindSafe for WebSearchToolCall
impl Send for WebSearchToolCall
impl Sync for WebSearchToolCall
impl Unpin for WebSearchToolCall
impl UnwindSafe for WebSearchToolCall
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