pub enum WebSearchPreviewToolSearchContextSize {
Low,
Medium,
High,
}
Expand description
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.
Variants§
Trait Implementations§
Source§impl Clone for WebSearchPreviewToolSearchContextSize
impl Clone for WebSearchPreviewToolSearchContextSize
Source§fn clone(&self) -> WebSearchPreviewToolSearchContextSize
fn clone(&self) -> WebSearchPreviewToolSearchContextSize
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for WebSearchPreviewToolSearchContextSize
impl<'de> Deserialize<'de> for WebSearchPreviewToolSearchContextSize
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 WebSearchPreviewToolSearchContextSize
impl PartialEq for WebSearchPreviewToolSearchContextSize
Source§fn eq(&self, other: &WebSearchPreviewToolSearchContextSize) -> bool
fn eq(&self, other: &WebSearchPreviewToolSearchContextSize) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for WebSearchPreviewToolSearchContextSize
impl StructuralPartialEq for WebSearchPreviewToolSearchContextSize
Auto Trait Implementations§
impl Freeze for WebSearchPreviewToolSearchContextSize
impl RefUnwindSafe for WebSearchPreviewToolSearchContextSize
impl Send for WebSearchPreviewToolSearchContextSize
impl Sync for WebSearchPreviewToolSearchContextSize
impl Unpin for WebSearchPreviewToolSearchContextSize
impl UnwindSafe for WebSearchPreviewToolSearchContextSize
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