Struct stripe::CreateCouponAppliesTo
source · pub struct CreateCouponAppliesTo {
pub products: Option<Vec<String>>,
}
Fields§
§products: Option<Vec<String>>
An array of Product IDs that this Coupon will apply to.
Trait Implementations§
source§impl Clone for CreateCouponAppliesTo
impl Clone for CreateCouponAppliesTo
source§fn clone(&self) -> CreateCouponAppliesTo
fn clone(&self) -> CreateCouponAppliesTo
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 CreateCouponAppliesTo
impl Debug for CreateCouponAppliesTo
source§impl Default for CreateCouponAppliesTo
impl Default for CreateCouponAppliesTo
source§fn default() -> CreateCouponAppliesTo
fn default() -> CreateCouponAppliesTo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCouponAppliesTo
impl<'de> Deserialize<'de> for CreateCouponAppliesTo
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 CreateCouponAppliesTo
impl RefUnwindSafe for CreateCouponAppliesTo
impl Send for CreateCouponAppliesTo
impl Sync for CreateCouponAppliesTo
impl Unpin for CreateCouponAppliesTo
impl UnwindSafe for CreateCouponAppliesTo
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