pub struct CustomerSessionResourceComponentsResourceMobilePaymentElement {
pub enabled: bool,
pub features: Option<CustomerSessionResourceComponentsResourceMobilePaymentElementResourceFeatures>,
}Expand description
This hash contains whether the mobile payment element is enabled and the features it supports.
Fields§
§enabled: boolWhether the mobile payment element is enabled.
features: Option<CustomerSessionResourceComponentsResourceMobilePaymentElementResourceFeatures>This hash defines whether the mobile payment element supports certain features.
Trait Implementations§
Source§impl Clone for CustomerSessionResourceComponentsResourceMobilePaymentElement
impl Clone for CustomerSessionResourceComponentsResourceMobilePaymentElement
Source§fn clone(&self) -> CustomerSessionResourceComponentsResourceMobilePaymentElement
fn clone(&self) -> CustomerSessionResourceComponentsResourceMobilePaymentElement
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 FromValueOpt for CustomerSessionResourceComponentsResourceMobilePaymentElement
impl FromValueOpt for CustomerSessionResourceComponentsResourceMobilePaymentElement
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for CustomerSessionResourceComponentsResourceMobilePaymentElement
impl RefUnwindSafe for CustomerSessionResourceComponentsResourceMobilePaymentElement
impl Send for CustomerSessionResourceComponentsResourceMobilePaymentElement
impl Sync for CustomerSessionResourceComponentsResourceMobilePaymentElement
impl Unpin for CustomerSessionResourceComponentsResourceMobilePaymentElement
impl UnwindSafe for CustomerSessionResourceComponentsResourceMobilePaymentElement
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