Struct stripe::model::PromotionCodesResourceRestrictions
source · pub struct PromotionCodesResourceRestrictions {
pub currency_options: Option<Value>,
pub first_time_transaction: bool,
pub minimum_amount: Option<i64>,
pub minimum_amount_currency: Option<String>,
}Fields§
§currency_options: Option<Value>§first_time_transaction: bool§minimum_amount: Option<i64>§minimum_amount_currency: Option<String>Trait Implementations§
source§impl Clone for PromotionCodesResourceRestrictions
impl Clone for PromotionCodesResourceRestrictions
source§fn clone(&self) -> PromotionCodesResourceRestrictions
fn clone(&self) -> PromotionCodesResourceRestrictions
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 PromotionCodesResourceRestrictions
impl Default for PromotionCodesResourceRestrictions
source§fn default() -> PromotionCodesResourceRestrictions
fn default() -> PromotionCodesResourceRestrictions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PromotionCodesResourceRestrictions
impl<'de> Deserialize<'de> for PromotionCodesResourceRestrictions
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 PromotionCodesResourceRestrictions
impl Send for PromotionCodesResourceRestrictions
impl Sync for PromotionCodesResourceRestrictions
impl Unpin for PromotionCodesResourceRestrictions
impl UnwindSafe for PromotionCodesResourceRestrictions
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