pub struct UpdatePaymentMethodConfigurationWechatPayDisplayPreference {
pub preference: Option<UpdatePaymentMethodConfigurationWechatPayDisplayPreferencePreference>,
}Expand description
Whether or not the payment method should be displayed.
Fields§
§preference: Option<UpdatePaymentMethodConfigurationWechatPayDisplayPreferencePreference>The account’s preference for whether or not to display this payment method.
Implementations§
Trait Implementations§
Source§impl Clone for UpdatePaymentMethodConfigurationWechatPayDisplayPreference
impl Clone for UpdatePaymentMethodConfigurationWechatPayDisplayPreference
Source§fn clone(&self) -> UpdatePaymentMethodConfigurationWechatPayDisplayPreference
fn clone(&self) -> UpdatePaymentMethodConfigurationWechatPayDisplayPreference
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 UpdatePaymentMethodConfigurationWechatPayDisplayPreference
impl PartialEq for UpdatePaymentMethodConfigurationWechatPayDisplayPreference
Source§fn eq(
&self,
other: &UpdatePaymentMethodConfigurationWechatPayDisplayPreference,
) -> bool
fn eq( &self, other: &UpdatePaymentMethodConfigurationWechatPayDisplayPreference, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for UpdatePaymentMethodConfigurationWechatPayDisplayPreference
impl StructuralPartialEq for UpdatePaymentMethodConfigurationWechatPayDisplayPreference
Auto Trait Implementations§
impl Freeze for UpdatePaymentMethodConfigurationWechatPayDisplayPreference
impl RefUnwindSafe for UpdatePaymentMethodConfigurationWechatPayDisplayPreference
impl Send for UpdatePaymentMethodConfigurationWechatPayDisplayPreference
impl Sync for UpdatePaymentMethodConfigurationWechatPayDisplayPreference
impl Unpin for UpdatePaymentMethodConfigurationWechatPayDisplayPreference
impl UnsafeUnpin for UpdatePaymentMethodConfigurationWechatPayDisplayPreference
impl UnwindSafe for UpdatePaymentMethodConfigurationWechatPayDisplayPreference
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