pub struct OfferProgramConfigurationPromotions {
pub selling_partner_funded_base_discount: Option<Box<OfferProgramConfigurationPromotionsDiscountFunding>>,
pub selling_partner_funded_tiered_discount: Option<Box<OfferProgramConfigurationPromotionsDiscountFunding>>,
pub amazon_funded_base_discount: Option<Box<OfferProgramConfigurationPromotionsDiscountFunding>>,
pub amazon_funded_tiered_discount: Option<Box<OfferProgramConfigurationPromotionsDiscountFunding>>,
}Expand description
OfferProgramConfigurationPromotions : An object which represents all promotions applied to an offer.
Fields§
§selling_partner_funded_base_discount: Option<Box<OfferProgramConfigurationPromotionsDiscountFunding>>§selling_partner_funded_tiered_discount: Option<Box<OfferProgramConfigurationPromotionsDiscountFunding>>§amazon_funded_base_discount: Option<Box<OfferProgramConfigurationPromotionsDiscountFunding>>§amazon_funded_tiered_discount: Option<Box<OfferProgramConfigurationPromotionsDiscountFunding>>Implementations§
Source§impl OfferProgramConfigurationPromotions
impl OfferProgramConfigurationPromotions
Sourcepub fn new() -> OfferProgramConfigurationPromotions
pub fn new() -> OfferProgramConfigurationPromotions
An object which represents all promotions applied to an offer.
Trait Implementations§
Source§impl Clone for OfferProgramConfigurationPromotions
impl Clone for OfferProgramConfigurationPromotions
Source§fn clone(&self) -> OfferProgramConfigurationPromotions
fn clone(&self) -> OfferProgramConfigurationPromotions
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 Default for OfferProgramConfigurationPromotions
impl Default for OfferProgramConfigurationPromotions
Source§fn default() -> OfferProgramConfigurationPromotions
fn default() -> OfferProgramConfigurationPromotions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OfferProgramConfigurationPromotions
impl<'de> Deserialize<'de> for OfferProgramConfigurationPromotions
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 OfferProgramConfigurationPromotions
impl PartialEq for OfferProgramConfigurationPromotions
Source§fn eq(&self, other: &OfferProgramConfigurationPromotions) -> bool
fn eq(&self, other: &OfferProgramConfigurationPromotions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OfferProgramConfigurationPromotions
Auto Trait Implementations§
impl Freeze for OfferProgramConfigurationPromotions
impl RefUnwindSafe for OfferProgramConfigurationPromotions
impl Send for OfferProgramConfigurationPromotions
impl Sync for OfferProgramConfigurationPromotions
impl Unpin for OfferProgramConfigurationPromotions
impl UnsafeUnpin for OfferProgramConfigurationPromotions
impl UnwindSafe for OfferProgramConfigurationPromotions
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