pub struct UpdateCouponCurrencyOptions {
pub amount_off: i64,
}
Fields§
§amount_off: i64
A positive integer representing the amount to subtract from an invoice total.
Trait Implementations§
source§impl Clone for UpdateCouponCurrencyOptions
impl Clone for UpdateCouponCurrencyOptions
source§fn clone(&self) -> UpdateCouponCurrencyOptions
fn clone(&self) -> UpdateCouponCurrencyOptions
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 UpdateCouponCurrencyOptions
impl Debug for UpdateCouponCurrencyOptions
source§impl Default for UpdateCouponCurrencyOptions
impl Default for UpdateCouponCurrencyOptions
source§fn default() -> UpdateCouponCurrencyOptions
fn default() -> UpdateCouponCurrencyOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateCouponCurrencyOptions
impl<'de> Deserialize<'de> for UpdateCouponCurrencyOptions
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 Freeze for UpdateCouponCurrencyOptions
impl RefUnwindSafe for UpdateCouponCurrencyOptions
impl Send for UpdateCouponCurrencyOptions
impl Sync for UpdateCouponCurrencyOptions
impl Unpin for UpdateCouponCurrencyOptions
impl UnwindSafe for UpdateCouponCurrencyOptions
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