pub struct WebSearchOptions { /* private fields */ }Implementations§
Source§impl WebSearchOptions
impl WebSearchOptions
pub fn image_results_enhanced_relevance<T>(self, value: T) -> Self
pub fn search_context_size<T>(self, value: T) -> Self
pub fn search_type<T>(self, value: T) -> Self
pub fn user_location<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for WebSearchOptions
impl Clone for WebSearchOptions
Source§impl Debug for WebSearchOptions
impl Debug for WebSearchOptions
Source§impl Default for WebSearchOptions
impl Default for WebSearchOptions
Source§impl From<WebSearchOptions> for WebSearchOptions
impl From<WebSearchOptions> for WebSearchOptions
Source§fn from(value: WebSearchOptions) -> Self
fn from(value: WebSearchOptions) -> Self
Converts to this type from the input type.
Source§impl TryFrom<WebSearchOptions> for WebSearchOptions
impl TryFrom<WebSearchOptions> for WebSearchOptions
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WebSearchOptions) -> Result<Self, ConversionError>
fn try_from(value: WebSearchOptions) -> Result<Self, ConversionError>
Performs the conversion.
Source§impl TryFrom<WebSearchOptions> for Option<WebSearchOptions>
impl TryFrom<WebSearchOptions> for Option<WebSearchOptions>
Source§type Error = <WebSearchOptions as TryFrom<WebSearchOptions>>::Error
type Error = <WebSearchOptions as TryFrom<WebSearchOptions>>::Error
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for WebSearchOptions
impl Freeze for WebSearchOptions
impl Move for WebSearchOptions
impl RefUnwindSafe for WebSearchOptions
impl Send for WebSearchOptions
impl Sync for WebSearchOptions
impl Unpin for WebSearchOptions
impl UnsafeUnpin for WebSearchOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for WebSearchOptions
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