pub struct DataForSeoLabsAmazonProductCompetitorsRequest {
pub asin: String,
pub location_name: Option<String>,
pub location_code: Option<i32>,
pub language_name: Option<String>,
pub language_code: Option<String>,
pub filters: Option<Vec<Value>>,
pub order_by: Option<Vec<String>>,
pub limit: Option<i32>,
pub offset: Option<i32>,
pub tag: Option<String>,
}Expand description
Request body for Amazon product_competitors.
See https://docs.dataforseo.com/v3/dataforseo_labs/amazon/product_competitors/live/.
Fields§
§asin: StringAmazon product identifier (ASIN).
location_name: Option<String>Full location name (e.g. "United States"); alternative to location_code.
location_code: Option<i32>Location code (e.g. 2840); alternative to location_name.
language_name: Option<String>Full language name (e.g. "English"); alternative to language_code.
language_code: Option<String>Language code (e.g. "en"); alternative to language_name.
filters: Option<Vec<Value>>Array of filtering conditions applied to the results.
order_by: Option<Vec<String>>Sorting rules applied to the results.
limit: Option<i32>Maximum number of returned items (default 100, max 1000).
offset: Option<i32>Offset into the result set, for pagination.
tag: Option<String>User-defined task identifier (max 255 characters).
Implementations§
Source§impl DataForSeoLabsAmazonProductCompetitorsRequest
impl DataForSeoLabsAmazonProductCompetitorsRequest
Sourcepub fn new(asin: &str) -> DataForSeoLabsAmazonProductCompetitorsRequest
pub fn new(asin: &str) -> DataForSeoLabsAmazonProductCompetitorsRequest
Creates a request for the given product ASIN.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataForSeoLabsAmazonProductCompetitorsRequest
impl<'de> Deserialize<'de> for DataForSeoLabsAmazonProductCompetitorsRequest
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 DataForSeoLabsAmazonProductCompetitorsRequest
impl RefUnwindSafe for DataForSeoLabsAmazonProductCompetitorsRequest
impl Send for DataForSeoLabsAmazonProductCompetitorsRequest
impl Sync for DataForSeoLabsAmazonProductCompetitorsRequest
impl Unpin for DataForSeoLabsAmazonProductCompetitorsRequest
impl UnsafeUnpin for DataForSeoLabsAmazonProductCompetitorsRequest
impl UnwindSafe for DataForSeoLabsAmazonProductCompetitorsRequest
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