pub enum SetupAttemptPaymentMethodDetailsCardWalletType {
ApplePay,
GooglePay,
Link,
}
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§
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl FromValueOpt for SetupAttemptPaymentMethodDetailsCardWalletType
impl FromValueOpt for SetupAttemptPaymentMethodDetailsCardWalletType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for SetupAttemptPaymentMethodDetailsCardWalletType
impl PartialEq for SetupAttemptPaymentMethodDetailsCardWalletType
Source§fn eq(&self, other: &SetupAttemptPaymentMethodDetailsCardWalletType) -> bool
fn eq(&self, other: &SetupAttemptPaymentMethodDetailsCardWalletType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for SetupAttemptPaymentMethodDetailsCardWalletType
impl Eq for SetupAttemptPaymentMethodDetailsCardWalletType
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 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