Struct stripe::CreateCouponCurrencyOptions
source · pub struct CreateCouponCurrencyOptions {
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 CreateCouponCurrencyOptions
impl Clone for CreateCouponCurrencyOptions
source§fn clone(&self) -> CreateCouponCurrencyOptions
fn clone(&self) -> CreateCouponCurrencyOptions
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 CreateCouponCurrencyOptions
impl Debug for CreateCouponCurrencyOptions
source§impl Default for CreateCouponCurrencyOptions
impl Default for CreateCouponCurrencyOptions
source§fn default() -> CreateCouponCurrencyOptions
fn default() -> CreateCouponCurrencyOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCouponCurrencyOptions
impl<'de> Deserialize<'de> for CreateCouponCurrencyOptions
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 CreateCouponCurrencyOptions
impl Send for CreateCouponCurrencyOptions
impl Sync for CreateCouponCurrencyOptions
impl Unpin for CreateCouponCurrencyOptions
impl UnwindSafe for CreateCouponCurrencyOptions
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