pub struct CreateBillingPortalSessionFlowData {
pub after_completion: Option<CreateBillingPortalSessionFlowDataAfterCompletion>,
pub subscription_cancel: Option<CreateBillingPortalSessionFlowDataSubscriptionCancel>,
pub subscription_update: Option<CreateBillingPortalSessionFlowDataSubscriptionUpdate>,
pub subscription_update_confirm: Option<CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm>,
pub type_: CreateBillingPortalSessionFlowDataType,
}
Fields§
§after_completion: Option<CreateBillingPortalSessionFlowDataAfterCompletion>
Behavior after the flow is completed.
subscription_cancel: Option<CreateBillingPortalSessionFlowDataSubscriptionCancel>
Configuration when flow_data.type=subscription_cancel
.
subscription_update: Option<CreateBillingPortalSessionFlowDataSubscriptionUpdate>
Configuration when flow_data.type=subscription_update
.
subscription_update_confirm: Option<CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirm>
Configuration when flow_data.type=subscription_update_confirm
.
type_: CreateBillingPortalSessionFlowDataType
Type of flow that the customer will go through.
Trait Implementations§
source§impl Clone for CreateBillingPortalSessionFlowData
impl Clone for CreateBillingPortalSessionFlowData
source§fn clone(&self) -> CreateBillingPortalSessionFlowData
fn clone(&self) -> CreateBillingPortalSessionFlowData
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 CreateBillingPortalSessionFlowData
impl Default for CreateBillingPortalSessionFlowData
source§fn default() -> CreateBillingPortalSessionFlowData
fn default() -> CreateBillingPortalSessionFlowData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateBillingPortalSessionFlowData
impl<'de> Deserialize<'de> for CreateBillingPortalSessionFlowData
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 CreateBillingPortalSessionFlowData
impl RefUnwindSafe for CreateBillingPortalSessionFlowData
impl Send for CreateBillingPortalSessionFlowData
impl Sync for CreateBillingPortalSessionFlowData
impl Unpin for CreateBillingPortalSessionFlowData
impl UnwindSafe for CreateBillingPortalSessionFlowData
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