pub struct SerpApiGoogleNewsTaskPostRequest {Show 20 fields
pub keyword: String,
pub url: Option<String>,
pub priority: Option<i32>,
pub location_name: Option<String>,
pub location_code: i32,
pub language_name: Option<String>,
pub language_code: String,
pub os: Option<String>,
pub calculate_rectangles: Option<bool>,
pub browser_screen_width: Option<i32>,
pub browser_screen_height: Option<i32>,
pub browser_screen_resolution_ratio: Option<i32>,
pub se_domain: Option<String>,
pub depth: Option<i32>,
pub max_crawl_pages: Option<i32>,
pub search_param: Option<String>,
pub tag: Option<String>,
pub postback_url: Option<String>,
pub postback_data: Option<String>,
pub pingback_url: Option<String>,
}Expand description
Request body for Google News task_post / live. See https://docs.dataforseo.com/v3/serp/google/news/task_post/.
Fields§
§keyword: StringSearch term the result was returned for.
url: Option<String>URL of the result.
priority: Option<i32>Task execution priority: 1 (normal) or 2 (high).
location_name: Option<String>Full location name (e.g. “London,England,United Kingdom”).
location_code: i32DataForSEO location code the search was run for.
language_name: Option<String>Full language name of the search.
language_code: StringLanguage code the search was run for.
os: Option<String>Os.
calculate_rectangles: Option<bool>Calculate rectangles.
browser_screen_width: Option<i32>Browser screen width.
browser_screen_height: Option<i32>Browser screen height.
browser_screen_resolution_ratio: Option<i32>Browser screen resolution ratio.
se_domain: Option<String>Search-engine domain the results were taken from.
depth: Option<i32>Depth.
max_crawl_pages: Option<i32>Max crawl pages.
search_param: Option<String>Search param.
tag: Option<String>User-defined identifier echoed back on the result.
postback_url: Option<String>URL of the postback.
postback_data: Option<String>Postback data.
pingback_url: Option<String>URL of the pingback.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SerpApiGoogleNewsTaskPostRequest
impl<'de> Deserialize<'de> for SerpApiGoogleNewsTaskPostRequest
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 SerpApiGoogleNewsTaskPostRequest
impl RefUnwindSafe for SerpApiGoogleNewsTaskPostRequest
impl Send for SerpApiGoogleNewsTaskPostRequest
impl Sync for SerpApiGoogleNewsTaskPostRequest
impl Unpin for SerpApiGoogleNewsTaskPostRequest
impl UnsafeUnpin for SerpApiGoogleNewsTaskPostRequest
impl UnwindSafe for SerpApiGoogleNewsTaskPostRequest
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