pub struct Promotion {
pub promotion_type: Option<String>,
pub promotion_id: Option<String>,
pub promotion_amount: Option<Box<Currency>>,
}Expand description
Promotion : A promotion applied to an item.
Fields§
§promotion_type: Option<String>The type of promotion.
promotion_id: Option<String>The seller-specified identifier for the promotion.
promotion_amount: Option<Box<Currency>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Promotion
impl<'de> Deserialize<'de> for Promotion
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
impl StructuralPartialEq for Promotion
Auto Trait Implementations§
impl Freeze for Promotion
impl RefUnwindSafe for Promotion
impl Send for Promotion
impl Sync for Promotion
impl Unpin for Promotion
impl UnwindSafe for Promotion
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