pub struct CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts {
pub coupon: Option<String>,
pub promotion_code: Option<String>,
}
Fields§
§coupon: Option<String>
The ID of the coupon to apply to this subscription update.
promotion_code: Option<String>
The ID of a promotion code to apply to this subscription update.
Trait Implementations§
source§impl Clone for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
impl Clone for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
source§fn clone(
&self
) -> CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
fn clone( &self ) -> CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
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 CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
impl Default for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
source§fn default(
) -> CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
fn default( ) -> CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
impl<'de> Deserialize<'de> for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
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 CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
impl RefUnwindSafe for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
impl Send for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
impl Sync for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
impl Unpin for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
impl UnwindSafe for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts
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