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