pub enum UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod {
Off,
OnSubscription,
}
Expand description
Configure whether Stripe updates subscription.default_payment_method
when payment succeeds.
Defaults to off
if unspecified.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
impl Clone for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
Source§fn clone(&self) -> UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
fn clone(&self) -> UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
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 moreSource§impl PartialEq for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
impl PartialEq for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
Source§fn eq(
&self,
other: &UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod,
) -> bool
fn eq( &self, other: &UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
impl Eq for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
impl StructuralPartialEq for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
Auto Trait Implementations§
impl Freeze for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
impl RefUnwindSafe for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
impl Send for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
impl Sync for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
impl Unpin for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
impl UnwindSafe for UpdateSubscriptionPaymentSettingsSaveDefaultPaymentMethod
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