pub struct ResponseFunctionWebSearch {
pub id: String,
pub action: FunctionShellAction,
pub status: ResponseFunctionWebSearchStatus,
pub type_: String,
}Expand description
The results of a web search tool call.
Fields§
§id: StringThe unique ID of the web search tool call.
action: FunctionShellActionAn object describing the specific action taken in this web search call. Includes
status: ResponseFunctionWebSearchStatusThe status of the web search tool call.
type_: StringThe type of the web search tool call. Always web_search_call.
Trait Implementations§
Source§impl Clone for ResponseFunctionWebSearch
impl Clone for ResponseFunctionWebSearch
Source§fn clone(&self) -> ResponseFunctionWebSearch
fn clone(&self) -> ResponseFunctionWebSearch
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 ResponseFunctionWebSearch
impl Debug for ResponseFunctionWebSearch
Source§impl<'de> Deserialize<'de> for ResponseFunctionWebSearch
impl<'de> Deserialize<'de> for ResponseFunctionWebSearch
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
Auto Trait Implementations§
impl Freeze for ResponseFunctionWebSearch
impl RefUnwindSafe for ResponseFunctionWebSearch
impl Send for ResponseFunctionWebSearch
impl Sync for ResponseFunctionWebSearch
impl Unpin for ResponseFunctionWebSearch
impl UnsafeUnpin for ResponseFunctionWebSearch
impl UnwindSafe for ResponseFunctionWebSearch
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