#[non_exhaustive]pub enum PaymentMethodCardWalletType {
AmexExpressCheckout,
ApplePay,
GooglePay,
Link,
Masterpass,
SamsungPay,
VisaCheckout,
Unknown(String),
}Expand description
The type of the card wallet, one of amex_express_checkout, apple_pay, google_pay, masterpass, samsung_pay, visa_checkout, or link.
An additional hash is included on the Wallet subhash with a name matching this value.
It contains additional information specific to the card wallet type.
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.
AmexExpressCheckout
ApplePay
GooglePay
Link
Masterpass
SamsungPay
VisaCheckout
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for PaymentMethodCardWalletType
impl Clone for PaymentMethodCardWalletType
Source§fn clone(&self) -> PaymentMethodCardWalletType
fn clone(&self) -> PaymentMethodCardWalletType
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 PaymentMethodCardWalletType
impl Debug for PaymentMethodCardWalletType
Source§impl FromValueOpt for PaymentMethodCardWalletType
impl FromValueOpt for PaymentMethodCardWalletType
fn from_value(v: Value) -> Option<Self>
impl Eq for PaymentMethodCardWalletType
impl StructuralPartialEq for PaymentMethodCardWalletType
Auto Trait Implementations§
impl Freeze for PaymentMethodCardWalletType
impl RefUnwindSafe for PaymentMethodCardWalletType
impl Send for PaymentMethodCardWalletType
impl Sync for PaymentMethodCardWalletType
impl Unpin for PaymentMethodCardWalletType
impl UnwindSafe for PaymentMethodCardWalletType
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