pub struct CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm {
pub discounts: Option<Vec<CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts>>,
pub items: Vec<CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems>,
pub subscription: String,
}
Fields§
§discounts: Option<Vec<CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmDiscounts>>
The coupon or promotion code to apply to this subscription update.
Currently, only up to one may be specified.
items: Vec<CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems>
The subscription item to be updated through this flow.
Currently, only up to one may be specified and subscriptions with multiple items are not updatable.
subscription: String
The ID of the subscription to be updated.
Trait Implementations§
source§impl Clone for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
impl Clone for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
source§fn clone(&self) -> CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
fn clone(&self) -> CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
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 CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
impl Default for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
source§fn default() -> CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
fn default() -> CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
impl<'de> Deserialize<'de> for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
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 CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
impl RefUnwindSafe for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
impl Send for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
impl Sync for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
impl Unpin for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
impl UnwindSafe for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm
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