pub struct ListingOffersRequest {
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 ListingOffersRequest
impl ListingOffersRequest
pub fn new(
uri: String,
method: HttpMethod,
marketplace_id: String,
item_condition: ItemCondition
) -> ListingOffersRequest
Trait Implementations
sourceimpl Clone for ListingOffersRequest
impl Clone for ListingOffersRequest
sourcefn clone(&self) -> ListingOffersRequest
fn clone(&self) -> ListingOffersRequest
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 ListingOffersRequest
impl Debug for ListingOffersRequest
sourceimpl Default for ListingOffersRequest
impl Default for ListingOffersRequest
sourcefn default() -> ListingOffersRequest
fn default() -> ListingOffersRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ListingOffersRequest
impl<'de> Deserialize<'de> for ListingOffersRequest
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<ListingOffersRequest> for ListingOffersRequest
impl PartialEq<ListingOffersRequest> for ListingOffersRequest
sourcefn eq(&self, other: &ListingOffersRequest) -> bool
fn eq(&self, other: &ListingOffersRequest) -> bool
sourceimpl Serialize for ListingOffersRequest
impl Serialize for ListingOffersRequest
impl StructuralPartialEq for ListingOffersRequest
Auto Trait Implementations
impl RefUnwindSafe for ListingOffersRequest
impl Send for ListingOffersRequest
impl Sync for ListingOffersRequest
impl Unpin for ListingOffersRequest
impl UnwindSafe for ListingOffersRequest
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