pub struct WebSearchPreviewTool {
pub search_context_size: Option<String>,
pub _type: String,
pub user_location: Option<Value>,
}
Fields§
§search_context_size: Option<String>
High level guidance for the amount of context window space to use for the search. One of low
, medium
, or high
. medium
is the default.
_type: String
The type of the web search tool. One of web_search_preview
or web_search_preview_2025_03_11
.
user_location: Option<Value>
Trait Implementations§
Source§impl Debug for WebSearchPreviewTool
impl Debug for WebSearchPreviewTool
Source§impl<'de> Deserialize<'de> for WebSearchPreviewTool
impl<'de> Deserialize<'de> for WebSearchPreviewTool
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 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