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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CreateCustomerSessionComponentsMobilePaymentElement
impl RefUnwindSafe for CreateCustomerSessionComponentsMobilePaymentElement
impl Send for CreateCustomerSessionComponentsMobilePaymentElement
impl Sync for CreateCustomerSessionComponentsMobilePaymentElement
impl Unpin 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