pub struct PaymentPagesCheckoutSessionIndividualName {
pub enabled: bool,
pub optional: bool,
}
Fields§
§enabled: bool
Indicates whether individual name collection is enabled for the session
optional: bool
Whether the customer is required to complete the field before completing the Checkout Session.
Defaults to false
.
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionIndividualName
impl Clone for PaymentPagesCheckoutSessionIndividualName
Source§fn clone(&self) -> PaymentPagesCheckoutSessionIndividualName
fn clone(&self) -> PaymentPagesCheckoutSessionIndividualName
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 PaymentPagesCheckoutSessionIndividualName
impl FromValueOpt for PaymentPagesCheckoutSessionIndividualName
fn from_value(v: Value) -> Option<Self>
impl Copy for PaymentPagesCheckoutSessionIndividualName
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionIndividualName
impl RefUnwindSafe for PaymentPagesCheckoutSessionIndividualName
impl Send for PaymentPagesCheckoutSessionIndividualName
impl Sync for PaymentPagesCheckoutSessionIndividualName
impl Unpin for PaymentPagesCheckoutSessionIndividualName
impl UnwindSafe for PaymentPagesCheckoutSessionIndividualName
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