pub struct AssociatedItem {
pub order_id: Option<String>,
pub order_item_id: Option<String>,
pub association_type: Option<AssociationType>,
}Expand description
AssociatedItem : An item that is associated with an order item. For example, a tire installation service that is purchased with tires.
Fields§
§order_id: Option<String>The order item’s order identifier, in 3-7-7 format.
order_item_id: Option<String>An Amazon-defined item identifier for the associated item.
association_type: Option<AssociationType>Implementations§
Source§impl AssociatedItem
impl AssociatedItem
Sourcepub fn new() -> AssociatedItem
pub fn new() -> AssociatedItem
An item that is associated with an order item. For example, a tire installation service that is purchased with tires.
Trait Implementations§
Source§impl Clone for AssociatedItem
impl Clone for AssociatedItem
Source§fn clone(&self) -> AssociatedItem
fn clone(&self) -> AssociatedItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssociatedItem
impl Debug for AssociatedItem
Source§impl Default for AssociatedItem
impl Default for AssociatedItem
Source§fn default() -> AssociatedItem
fn default() -> AssociatedItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssociatedItem
impl<'de> Deserialize<'de> for AssociatedItem
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
Source§impl PartialEq for AssociatedItem
impl PartialEq for AssociatedItem
Source§impl Serialize for AssociatedItem
impl Serialize for AssociatedItem
impl StructuralPartialEq for AssociatedItem
Auto Trait Implementations§
impl Freeze for AssociatedItem
impl RefUnwindSafe for AssociatedItem
impl Send for AssociatedItem
impl Sync for AssociatedItem
impl Unpin for AssociatedItem
impl UnwindSafe for AssociatedItem
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