pub struct CreateCustomerSessionComponents {
pub buy_button: Option<CreateCustomerSessionComponentsBuyButton>,
pub payment_element: Option<CreateCustomerSessionComponentsPaymentElement>,
pub pricing_table: Option<CreateCustomerSessionComponentsPricingTable>,
}
Expand description
Configuration for each component. Exactly 1 component must be enabled.
Fields§
Configuration for buy button.
payment_element: Option<CreateCustomerSessionComponentsPaymentElement>
Configuration for the Payment Element.
pricing_table: Option<CreateCustomerSessionComponentsPricingTable>
Configuration for the pricing table.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCustomerSessionComponents
impl Clone for CreateCustomerSessionComponents
Source§fn clone(&self) -> CreateCustomerSessionComponents
fn clone(&self) -> CreateCustomerSessionComponents
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 CreateCustomerSessionComponents
impl RefUnwindSafe for CreateCustomerSessionComponents
impl Send for CreateCustomerSessionComponents
impl Sync for CreateCustomerSessionComponents
impl Unpin for CreateCustomerSessionComponents
impl UnwindSafe for CreateCustomerSessionComponents
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