pub struct CreateCustomerSessionComponentsMobilePaymentElement {
pub enabled: bool,
pub features: Option<CreateCustomerSessionComponentsMobilePaymentElementFeatures>,
}Expand description
Configuration for the mobile payment element.
Fields§
§enabled: boolWhether the mobile payment element is enabled.
features: Option<CreateCustomerSessionComponentsMobilePaymentElementFeatures>This hash defines whether the mobile payment element supports certain features.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCustomerSessionComponentsMobilePaymentElement
impl Clone for CreateCustomerSessionComponentsMobilePaymentElement
Source§fn clone(&self) -> CreateCustomerSessionComponentsMobilePaymentElement
fn clone(&self) -> CreateCustomerSessionComponentsMobilePaymentElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateCustomerSessionComponentsMobilePaymentElement
impl PartialEq for CreateCustomerSessionComponentsMobilePaymentElement
Source§fn eq(
&self,
other: &CreateCustomerSessionComponentsMobilePaymentElement,
) -> bool
fn eq( &self, other: &CreateCustomerSessionComponentsMobilePaymentElement, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreateCustomerSessionComponentsMobilePaymentElement
impl StructuralPartialEq for CreateCustomerSessionComponentsMobilePaymentElement
Auto Trait Implementations§
impl Freeze for CreateCustomerSessionComponentsMobilePaymentElement
impl RefUnwindSafe for CreateCustomerSessionComponentsMobilePaymentElement
impl Send for CreateCustomerSessionComponentsMobilePaymentElement
impl Sync for CreateCustomerSessionComponentsMobilePaymentElement
impl Unpin for CreateCustomerSessionComponentsMobilePaymentElement
impl UnsafeUnpin for CreateCustomerSessionComponentsMobilePaymentElement
impl UnwindSafe for CreateCustomerSessionComponentsMobilePaymentElement
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