pub struct WebSearchPreviewTool {
pub type: String,
pub user_location: Option<WebSearchPreviewTool_UserLocation>,
pub search_context_size: Option<String>,
}
Expand description
This tool searches the web for relevant results to use in a response.
Fields§
§type: String
The type of the web search tool.
user_location: Option<WebSearchPreviewTool_UserLocation>
§search_context_size: Option<String>
High level guidance for the amount of context window space to use for the search.
Trait Implementations§
Source§impl Clone for WebSearchPreviewTool
impl Clone for WebSearchPreviewTool
Source§fn clone(&self) -> WebSearchPreviewTool
fn clone(&self) -> WebSearchPreviewTool
Returns a copy 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 WebSearchPreviewTool
impl Debug for WebSearchPreviewTool
Source§impl Default for WebSearchPreviewTool
impl Default for WebSearchPreviewTool
Source§fn default() -> WebSearchPreviewTool
fn default() -> WebSearchPreviewTool
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WebSearchPreviewTool
impl RefUnwindSafe for WebSearchPreviewTool
impl Send for WebSearchPreviewTool
impl Sync for WebSearchPreviewTool
impl Unpin for WebSearchPreviewTool
impl UnwindSafe for WebSearchPreviewTool
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