pub struct WebSearchCall {
pub call_type: String,
pub action: WebSearchAction,
pub id: Option<String>,
pub status: Option<String>,
}Expand description
The output of a web search tool call.
Fields§
§call_type: StringThe type of the web search tool call. Always web_search_call.
action: WebSearchActionAn object describing the specific action taken in this web search call.
id: Option<String>The unique ID of the web search tool call.
status: Option<String>The status of the web search tool call.
Trait Implementations§
Source§impl Clone for WebSearchCall
impl Clone for WebSearchCall
Source§fn clone(&self) -> WebSearchCall
fn clone(&self) -> WebSearchCall
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 WebSearchCall
impl Debug for WebSearchCall
Source§impl Default for WebSearchCall
impl Default for WebSearchCall
Source§fn default() -> WebSearchCall
fn default() -> WebSearchCall
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebSearchCall
impl<'de> Deserialize<'de> for WebSearchCall
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 WebSearchCall
impl PartialEq for WebSearchCall
Source§impl Serialize for WebSearchCall
impl Serialize for WebSearchCall
impl StructuralPartialEq for WebSearchCall
Auto Trait Implementations§
impl Freeze for WebSearchCall
impl RefUnwindSafe for WebSearchCall
impl Send for WebSearchCall
impl Sync for WebSearchCall
impl Unpin for WebSearchCall
impl UnwindSafe for WebSearchCall
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