pub struct CouponCurrencyOption {
pub amount_off: i64,
}
Fields§
§amount_off: i64
Amount (in the currency
specified) that will be taken off the subtotal of any invoices for this customer.
Trait Implementations§
Source§impl Clone for CouponCurrencyOption
impl Clone for CouponCurrencyOption
Source§fn clone(&self) -> CouponCurrencyOption
fn clone(&self) -> CouponCurrencyOption
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 CouponCurrencyOption
impl Debug for CouponCurrencyOption
Source§impl Deserialize for CouponCurrencyOption
impl Deserialize for CouponCurrencyOption
Source§impl FromValueOpt for CouponCurrencyOption
impl FromValueOpt for CouponCurrencyOption
fn from_value(v: Value) -> Option<Self>
impl Copy for CouponCurrencyOption
Auto Trait Implementations§
impl Freeze for CouponCurrencyOption
impl RefUnwindSafe for CouponCurrencyOption
impl Send for CouponCurrencyOption
impl Sync for CouponCurrencyOption
impl Unpin for CouponCurrencyOption
impl UnwindSafe for CouponCurrencyOption
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