Struct stripe::generated::billing::promotion_code::UpdatePromotionCodeRestrictionsCurrencyOptions
source · pub struct UpdatePromotionCodeRestrictionsCurrencyOptions {
pub minimum_amount: Option<i64>,
}
Fields§
§minimum_amount: Option<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 UpdatePromotionCodeRestrictionsCurrencyOptions
impl Clone for UpdatePromotionCodeRestrictionsCurrencyOptions
source§fn clone(&self) -> UpdatePromotionCodeRestrictionsCurrencyOptions
fn clone(&self) -> UpdatePromotionCodeRestrictionsCurrencyOptions
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 Default for UpdatePromotionCodeRestrictionsCurrencyOptions
impl Default for UpdatePromotionCodeRestrictionsCurrencyOptions
source§fn default() -> UpdatePromotionCodeRestrictionsCurrencyOptions
fn default() -> UpdatePromotionCodeRestrictionsCurrencyOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdatePromotionCodeRestrictionsCurrencyOptions
impl<'de> Deserialize<'de> for UpdatePromotionCodeRestrictionsCurrencyOptions
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 UpdatePromotionCodeRestrictionsCurrencyOptions
impl RefUnwindSafe for UpdatePromotionCodeRestrictionsCurrencyOptions
impl Send for UpdatePromotionCodeRestrictionsCurrencyOptions
impl Sync for UpdatePromotionCodeRestrictionsCurrencyOptions
impl Unpin for UpdatePromotionCodeRestrictionsCurrencyOptions
impl UnwindSafe for UpdatePromotionCodeRestrictionsCurrencyOptions
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