pub struct CreatePaymentMethodConfigurationWechatPay {
pub display_preference: Option<CreatePaymentMethodConfigurationWechatPayDisplayPreference>,
}Expand description
WeChat, owned by Tencent, is China’s leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses’ apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this page for more details.
Fields§
§display_preference: Option<CreatePaymentMethodConfigurationWechatPayDisplayPreference>Whether or not the payment method should be displayed.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentMethodConfigurationWechatPay
impl Clone for CreatePaymentMethodConfigurationWechatPay
Source§fn clone(&self) -> CreatePaymentMethodConfigurationWechatPay
fn clone(&self) -> CreatePaymentMethodConfigurationWechatPay
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 CreatePaymentMethodConfigurationWechatPay
impl PartialEq for CreatePaymentMethodConfigurationWechatPay
Source§fn eq(&self, other: &CreatePaymentMethodConfigurationWechatPay) -> bool
fn eq(&self, other: &CreatePaymentMethodConfigurationWechatPay) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentMethodConfigurationWechatPay
impl StructuralPartialEq for CreatePaymentMethodConfigurationWechatPay
Auto Trait Implementations§
impl Freeze for CreatePaymentMethodConfigurationWechatPay
impl RefUnwindSafe for CreatePaymentMethodConfigurationWechatPay
impl Send for CreatePaymentMethodConfigurationWechatPay
impl Sync for CreatePaymentMethodConfigurationWechatPay
impl Unpin for CreatePaymentMethodConfigurationWechatPay
impl UnsafeUnpin for CreatePaymentMethodConfigurationWechatPay
impl UnwindSafe for CreatePaymentMethodConfigurationWechatPay
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