#[non_exhaustive]pub enum CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove {
Disabled,
Enabled,
Unknown(String),
}Expand description
Controls whether the mobile payment element displays the option to remove a saved payment method.“
Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method.
Removing the payment method detaches the customer object from that PaymentMethod.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Disabled
Enabled
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl Clone for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
Source§fn clone(
&self,
) -> CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
fn clone( &self, ) -> CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
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 Debug for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl Debug for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
Source§impl Display for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl Display for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
Source§impl FromStr for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl FromStr for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
Source§impl PartialEq for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl PartialEq for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
Source§fn eq(
&self,
other: &CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove,
) -> bool
fn eq( &self, other: &CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove, ) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl Serialize for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl Eq for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl StructuralPartialEq for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
Auto Trait Implementations§
impl Freeze for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl RefUnwindSafe for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl Send for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl Sync for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl Unpin for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
impl UnwindSafe for CreateCustomerSessionComponentsMobilePaymentElementFeaturesPaymentMethodRemove
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