pub struct CreateCustomerSessionComponentsPaymentElement {
pub enabled: bool,
pub features: Option<CreateCustomerSessionComponentsPaymentElementFeatures>,
}
Expand description
Configuration for the Payment Element.
Fields§
§enabled: bool
Whether the Payment Element is enabled.
features: Option<CreateCustomerSessionComponentsPaymentElementFeatures>
This hash defines whether the Payment Element supports certain features.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCustomerSessionComponentsPaymentElement
impl Clone for CreateCustomerSessionComponentsPaymentElement
Source§fn clone(&self) -> CreateCustomerSessionComponentsPaymentElement
fn clone(&self) -> CreateCustomerSessionComponentsPaymentElement
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 CreateCustomerSessionComponentsPaymentElement
impl RefUnwindSafe for CreateCustomerSessionComponentsPaymentElement
impl Send for CreateCustomerSessionComponentsPaymentElement
impl Sync for CreateCustomerSessionComponentsPaymentElement
impl Unpin for CreateCustomerSessionComponentsPaymentElement
impl UnwindSafe for CreateCustomerSessionComponentsPaymentElement
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