pub struct CreateSubscriptionTrialSettingsEndBehavior {
pub missing_payment_method: CreateSubscriptionTrialSettingsEndBehaviorMissingPaymentMethod,
}
Expand description
Defines how the subscription should behave when the user’s free trial ends.
Fields§
§missing_payment_method: CreateSubscriptionTrialSettingsEndBehaviorMissingPaymentMethod
Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
Implementations§
Source§impl CreateSubscriptionTrialSettingsEndBehavior
impl CreateSubscriptionTrialSettingsEndBehavior
pub fn new( missing_payment_method: impl Into<CreateSubscriptionTrialSettingsEndBehaviorMissingPaymentMethod>, ) -> Self
Trait Implementations§
Source§impl Clone for CreateSubscriptionTrialSettingsEndBehavior
impl Clone for CreateSubscriptionTrialSettingsEndBehavior
Source§fn clone(&self) -> CreateSubscriptionTrialSettingsEndBehavior
fn clone(&self) -> CreateSubscriptionTrialSettingsEndBehavior
Returns a duplicate 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 moreimpl Copy for CreateSubscriptionTrialSettingsEndBehavior
Auto Trait Implementations§
impl Freeze for CreateSubscriptionTrialSettingsEndBehavior
impl RefUnwindSafe for CreateSubscriptionTrialSettingsEndBehavior
impl Send for CreateSubscriptionTrialSettingsEndBehavior
impl Sync for CreateSubscriptionTrialSettingsEndBehavior
impl Unpin for CreateSubscriptionTrialSettingsEndBehavior
impl UnwindSafe for CreateSubscriptionTrialSettingsEndBehavior
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