pub struct PromotionCodeCurrencyOption {
pub minimum_amount: i64,
}
Fields§
§minimum_amount: i64
Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work).
Trait Implementations§
source§impl Clone for PromotionCodeCurrencyOption
impl Clone for PromotionCodeCurrencyOption
source§fn clone(&self) -> PromotionCodeCurrencyOption
fn clone(&self) -> PromotionCodeCurrencyOption
Returns a copy 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 PromotionCodeCurrencyOption
impl Debug for PromotionCodeCurrencyOption
source§impl Default for PromotionCodeCurrencyOption
impl Default for PromotionCodeCurrencyOption
source§fn default() -> PromotionCodeCurrencyOption
fn default() -> PromotionCodeCurrencyOption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PromotionCodeCurrencyOption
impl<'de> Deserialize<'de> for PromotionCodeCurrencyOption
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
Auto Trait Implementations§
impl RefUnwindSafe for PromotionCodeCurrencyOption
impl Send for PromotionCodeCurrencyOption
impl Sync for PromotionCodeCurrencyOption
impl Unpin for PromotionCodeCurrencyOption
impl UnwindSafe for PromotionCodeCurrencyOption
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