#[non_exhaustive]pub struct SearchCommands {Show 13 fields
pub search_query: Option<Vec<SearchQuery>>,
pub literature_search_query: Option<Vec<SearchQuery>>,
pub image_query: Option<Vec<SearchQuery>>,
pub open: Option<Vec<OpenOperation>>,
pub click: Option<Vec<ClickOperation>>,
pub find: Option<Vec<FindOperation>>,
pub screenshot: Option<Vec<ScreenshotOperation>>,
pub finance: Option<Vec<FinanceOperation>>,
pub weather: Option<Vec<WeatherOperation>>,
pub sports: Option<Vec<SportsOperation>>,
pub time: Option<Vec<TimeOperation>>,
pub response_length: Option<SearchResponseLength>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.search_query: Option<Vec<SearchQuery>>§literature_search_query: Option<Vec<SearchQuery>>§image_query: Option<Vec<SearchQuery>>§open: Option<Vec<OpenOperation>>§click: Option<Vec<ClickOperation>>§find: Option<Vec<FindOperation>>§screenshot: Option<Vec<ScreenshotOperation>>§finance: Option<Vec<FinanceOperation>>§weather: Option<Vec<WeatherOperation>>§sports: Option<Vec<SportsOperation>>§time: Option<Vec<TimeOperation>>§response_length: Option<SearchResponseLength>§rest: RestImplementations§
Source§impl SearchCommands
impl SearchCommands
Sourcepub fn builder() -> SearchCommandsBuilder
pub fn builder() -> SearchCommandsBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for SearchCommands
impl Clone for SearchCommands
Source§impl Debug for SearchCommands
impl Debug for SearchCommands
Source§impl DeclaredFields for SearchCommands
impl DeclaredFields for SearchCommands
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for SearchCommands
impl<'de> Deserialize<'de> for SearchCommands
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 SearchCommands
impl PartialEq for SearchCommands
Source§impl Serialize for SearchCommands
impl Serialize for SearchCommands
impl StructuralPartialEq for SearchCommands
Auto Trait Implementations§
impl Freeze for SearchCommands
impl RefUnwindSafe for SearchCommands
impl Send for SearchCommands
impl Sync for SearchCommands
impl Unpin for SearchCommands
impl UnsafeUnpin for SearchCommands
impl UnwindSafe for SearchCommands
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