pub struct ItemIdentifier {
pub marketplace_id: String,
pub ASIN: Option<String>,
pub seller_sku: Option<String>,
pub item_condition: ConditionType,
}Expand description
ItemIdentifier : Information that identifies an item.
Fields
marketplace_id: StringA marketplace identifier. Specifies the marketplace from which prices are returned.
ASIN: Option<String>The Amazon Standard Identification Number (ASIN) of the item.
seller_sku: Option<String>The seller stock keeping unit (SKU) of the item.
item_condition: ConditionTypeImplementations
sourceimpl ItemIdentifier
impl ItemIdentifier
sourcepub fn new(
marketplace_id: String,
item_condition: ConditionType
) -> ItemIdentifier
pub fn new(
marketplace_id: String,
item_condition: ConditionType
) -> ItemIdentifier
Information that identifies an item.
Trait Implementations
sourceimpl Clone for ItemIdentifier
impl Clone for ItemIdentifier
sourcefn clone(&self) -> ItemIdentifier
fn clone(&self) -> ItemIdentifier
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 ItemIdentifier
impl Debug for ItemIdentifier
sourceimpl Default for ItemIdentifier
impl Default for ItemIdentifier
sourcefn default() -> ItemIdentifier
fn default() -> ItemIdentifier
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ItemIdentifier
impl<'de> Deserialize<'de> for ItemIdentifier
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<ItemIdentifier> for ItemIdentifier
impl PartialEq<ItemIdentifier> for ItemIdentifier
sourcefn eq(&self, other: &ItemIdentifier) -> bool
fn eq(&self, other: &ItemIdentifier) -> bool
sourceimpl Serialize for ItemIdentifier
impl Serialize for ItemIdentifier
impl StructuralPartialEq for ItemIdentifier
Auto Trait Implementations
impl RefUnwindSafe for ItemIdentifier
impl Send for ItemIdentifier
impl Sync for ItemIdentifier
impl Unpin for ItemIdentifier
impl UnwindSafe for ItemIdentifier
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