pub struct PaymentPagesCheckoutSessionIndividualName {
pub enabled: bool,
pub optional: bool,
}Fields§
§enabled: boolIndicates whether individual name collection is enabled for the session
optional: boolWhether 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 (const: unstable) · 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>
Source§impl PartialEq for PaymentPagesCheckoutSessionIndividualName
impl PartialEq for PaymentPagesCheckoutSessionIndividualName
Source§fn eq(&self, other: &PaymentPagesCheckoutSessionIndividualName) -> bool
fn eq(&self, other: &PaymentPagesCheckoutSessionIndividualName) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PaymentPagesCheckoutSessionIndividualName
impl Eq for PaymentPagesCheckoutSessionIndividualName
impl StructuralPartialEq 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 UnsafeUnpin 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