pub struct CreatePaymentMethodConfigurationGooglePay {
pub display_preference: Option<CreatePaymentMethodConfigurationGooglePayDisplayPreference>,
}Expand description
Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer’s Google account. Check this page for more details.
Fields§
§display_preference: Option<CreatePaymentMethodConfigurationGooglePayDisplayPreference>Whether or not the payment method should be displayed.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentMethodConfigurationGooglePay
impl Clone for CreatePaymentMethodConfigurationGooglePay
Source§fn clone(&self) -> CreatePaymentMethodConfigurationGooglePay
fn clone(&self) -> CreatePaymentMethodConfigurationGooglePay
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 PartialEq for CreatePaymentMethodConfigurationGooglePay
impl PartialEq for CreatePaymentMethodConfigurationGooglePay
Source§fn eq(&self, other: &CreatePaymentMethodConfigurationGooglePay) -> bool
fn eq(&self, other: &CreatePaymentMethodConfigurationGooglePay) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentMethodConfigurationGooglePay
impl StructuralPartialEq for CreatePaymentMethodConfigurationGooglePay
Auto Trait Implementations§
impl Freeze for CreatePaymentMethodConfigurationGooglePay
impl RefUnwindSafe for CreatePaymentMethodConfigurationGooglePay
impl Send for CreatePaymentMethodConfigurationGooglePay
impl Sync for CreatePaymentMethodConfigurationGooglePay
impl Unpin for CreatePaymentMethodConfigurationGooglePay
impl UnsafeUnpin for CreatePaymentMethodConfigurationGooglePay
impl UnwindSafe for CreatePaymentMethodConfigurationGooglePay
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