pub struct SerpApiTaskResult<T> {Show 13 fields
pub keyword: String,
pub search_engine_type: Option<String>,
pub se_domain: Option<String>,
pub location_code: i32,
pub language_code: Option<String>,
pub check_url: Option<String>,
pub datetime: Option<String>,
pub spell: Option<Value>,
pub refinement_chips: Option<SerpApiElementRefinementChips>,
pub item_types: Option<Vec<String>>,
pub se_results_count: Option<i64>,
pub items_count: Option<i64>,
pub items: Option<Vec<T>>,
}Expand description
Common SERP task result wrapper: metadata about the search plus its items.
Fields§
§keyword: StringKeyword the search was performed for, UTF-8 decoded.
search_engine_type: Option<String>Search engine type (e.g. organic, maps).
se_domain: Option<String>Search engine domain the request was made to (e.g. google.co.jp).
location_code: i32Location code used in the task.
language_code: Option<String>Language code used in the task.
check_url: Option<String>Direct URL of the search query.
datetime: Option<String>Date and time when the result was received, UTC.
spell: Option<Value>Autocorrection info applied by the search engine, if any.
refinement_chips: Option<SerpApiElementRefinementChips>Search refinement chips shown in the SERP, if any.
item_types: Option<Vec<String>>Element types present in items (e.g. organic, people_also_ask).
se_results_count: Option<i64>Total number of results the search engine reported.
items_count: Option<i64>Number of items returned in items.
items: Option<Vec<T>>Elements of the search results page.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for SerpApiTaskResult<T>
impl<T: Clone> Clone for SerpApiTaskResult<T>
Source§impl<T: Debug> Debug for SerpApiTaskResult<T>
impl<T: Debug> Debug for SerpApiTaskResult<T>
Source§impl<T: Default> Default for SerpApiTaskResult<T>
impl<T: Default> Default for SerpApiTaskResult<T>
Source§impl<'de, T> Deserialize<'de> for SerpApiTaskResult<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for SerpApiTaskResult<T>where
T: Deserialize<'de>,
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<T> Freeze for SerpApiTaskResult<T>
impl<T> RefUnwindSafe for SerpApiTaskResult<T>
impl<T> Send for SerpApiTaskResult<T>
impl<T> Sync for SerpApiTaskResult<T>
impl<T> Unpin for SerpApiTaskResult<T>
impl<T> UnsafeUnpin for SerpApiTaskResult<T>
impl<T> UnwindSafe for SerpApiTaskResult<T>
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