pub struct PaymentPagesCheckoutSessionBusinessName {
pub enabled: bool,
pub optional: bool,
}Fields§
§enabled: boolIndicates whether business 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 PaymentPagesCheckoutSessionBusinessName
impl Clone for PaymentPagesCheckoutSessionBusinessName
Source§fn clone(&self) -> PaymentPagesCheckoutSessionBusinessName
fn clone(&self) -> PaymentPagesCheckoutSessionBusinessName
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 PaymentPagesCheckoutSessionBusinessName
impl FromValueOpt for PaymentPagesCheckoutSessionBusinessName
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentPagesCheckoutSessionBusinessName
impl PartialEq for PaymentPagesCheckoutSessionBusinessName
Source§fn eq(&self, other: &PaymentPagesCheckoutSessionBusinessName) -> bool
fn eq(&self, other: &PaymentPagesCheckoutSessionBusinessName) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PaymentPagesCheckoutSessionBusinessName
impl Eq for PaymentPagesCheckoutSessionBusinessName
impl StructuralPartialEq for PaymentPagesCheckoutSessionBusinessName
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionBusinessName
impl RefUnwindSafe for PaymentPagesCheckoutSessionBusinessName
impl Send for PaymentPagesCheckoutSessionBusinessName
impl Sync for PaymentPagesCheckoutSessionBusinessName
impl Unpin for PaymentPagesCheckoutSessionBusinessName
impl UnsafeUnpin for PaymentPagesCheckoutSessionBusinessName
impl UnwindSafe for PaymentPagesCheckoutSessionBusinessName
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