pub struct ItemOffersRequest {
pub uri: String,
pub method: HttpMethod,
pub headers: Option<HashMap<String, String>>,
pub marketplace_id: String,
pub item_condition: ItemCondition,
pub customer_type: Option<CustomerType>,
}Fields
uri: StringThe resource path of the operation you are calling in batch without any query parameters. If you are calling getItemOffersBatch, supply the path of getItemOffers. Example: /products/pricing/v0/items/B000P6Q7MY/offers If you are calling getListingOffersBatch, supply the path of getListingOffers. Example: /products/pricing/v0/listings/B000P6Q7MY/offers
method: HttpMethodheaders: Option<HashMap<String, String>>A mapping of additional HTTP headers to send/receive for the individual batch request.
marketplace_id: StringA marketplace identifier. Specifies the marketplace for which prices are returned.
item_condition: ItemConditioncustomer_type: Option<CustomerType>Implementations
sourceimpl ItemOffersRequest
impl ItemOffersRequest
pub fn new(
uri: String,
method: HttpMethod,
marketplace_id: String,
item_condition: ItemCondition
) -> ItemOffersRequest
Trait Implementations
sourceimpl Clone for ItemOffersRequest
impl Clone for ItemOffersRequest
sourcefn clone(&self) -> ItemOffersRequest
fn clone(&self) -> ItemOffersRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ItemOffersRequest
impl Debug for ItemOffersRequest
sourceimpl Default for ItemOffersRequest
impl Default for ItemOffersRequest
sourcefn default() -> ItemOffersRequest
fn default() -> ItemOffersRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ItemOffersRequest
impl<'de> Deserialize<'de> for ItemOffersRequest
sourcefn 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
sourceimpl PartialEq<ItemOffersRequest> for ItemOffersRequest
impl PartialEq<ItemOffersRequest> for ItemOffersRequest
sourcefn eq(&self, other: &ItemOffersRequest) -> bool
fn eq(&self, other: &ItemOffersRequest) -> bool
sourceimpl Serialize for ItemOffersRequest
impl Serialize for ItemOffersRequest
impl StructuralPartialEq for ItemOffersRequest
Auto Trait Implementations
impl RefUnwindSafe for ItemOffersRequest
impl Send for ItemOffersRequest
impl Sync for ItemOffersRequest
impl Unpin for ItemOffersRequest
impl UnwindSafe for ItemOffersRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more