pub struct SetupAttemptPaymentMethodDetailsCardWallet {
pub apple_pay: Option<PaymentMethodDetailsCardWalletApplePay>,
pub google_pay: Option<PaymentMethodDetailsCardWalletGooglePay>,
pub type_: SetupAttemptPaymentMethodDetailsCardWalletType,
}
Fields§
§apple_pay: Option<PaymentMethodDetailsCardWalletApplePay>
§google_pay: Option<PaymentMethodDetailsCardWalletGooglePay>
§type_: SetupAttemptPaymentMethodDetailsCardWalletType
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.
Trait Implementations§
source§impl Clone for SetupAttemptPaymentMethodDetailsCardWallet
impl Clone for SetupAttemptPaymentMethodDetailsCardWallet
source§fn clone(&self) -> SetupAttemptPaymentMethodDetailsCardWallet
fn clone(&self) -> SetupAttemptPaymentMethodDetailsCardWallet
Returns a copy 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 Default for SetupAttemptPaymentMethodDetailsCardWallet
impl Default for SetupAttemptPaymentMethodDetailsCardWallet
source§fn default() -> SetupAttemptPaymentMethodDetailsCardWallet
fn default() -> SetupAttemptPaymentMethodDetailsCardWallet
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SetupAttemptPaymentMethodDetailsCardWallet
impl<'de> Deserialize<'de> for SetupAttemptPaymentMethodDetailsCardWallet
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetupAttemptPaymentMethodDetailsCardWallet
impl RefUnwindSafe for SetupAttemptPaymentMethodDetailsCardWallet
impl Send for SetupAttemptPaymentMethodDetailsCardWallet
impl Sync for SetupAttemptPaymentMethodDetailsCardWallet
impl Unpin for SetupAttemptPaymentMethodDetailsCardWallet
impl UnwindSafe for SetupAttemptPaymentMethodDetailsCardWallet
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