#[non_exhaustive]pub enum SetupAttemptPaymentMethodDetailsCardWalletType {
ApplePay,
GooglePay,
Link,
Unknown(String),
}Expand description
The type of the card wallet, one of apple_pay, google_pay, 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.
ApplePay
GooglePay
Link
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for SetupAttemptPaymentMethodDetailsCardWalletType
impl Clone for SetupAttemptPaymentMethodDetailsCardWalletType
Source§fn clone(&self) -> SetupAttemptPaymentMethodDetailsCardWalletType
fn clone(&self) -> SetupAttemptPaymentMethodDetailsCardWalletType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SetupAttemptPaymentMethodDetailsCardWalletType
Available on non-crate feature redact-generated-debug only.
impl Debug for SetupAttemptPaymentMethodDetailsCardWalletType
Available on non-crate feature
redact-generated-debug only.impl Eq for SetupAttemptPaymentMethodDetailsCardWalletType
Source§impl FromValueOpt for SetupAttemptPaymentMethodDetailsCardWalletType
impl FromValueOpt for SetupAttemptPaymentMethodDetailsCardWalletType
fn from_value(v: Value) -> Option<Self>
impl StructuralPartialEq for SetupAttemptPaymentMethodDetailsCardWalletType
Auto Trait Implementations§
impl Freeze for SetupAttemptPaymentMethodDetailsCardWalletType
impl RefUnwindSafe for SetupAttemptPaymentMethodDetailsCardWalletType
impl Send for SetupAttemptPaymentMethodDetailsCardWalletType
impl Sync for SetupAttemptPaymentMethodDetailsCardWalletType
impl Unpin for SetupAttemptPaymentMethodDetailsCardWalletType
impl UnsafeUnpin for SetupAttemptPaymentMethodDetailsCardWalletType
impl UnwindSafe for SetupAttemptPaymentMethodDetailsCardWalletType
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