pub struct PaymentPagesCheckoutSessionBusinessName {
pub enabled: bool,
pub optional: bool,
}
Fields§
§enabled: bool
Indicates whether business 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 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 · 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>
impl Copy 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 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