pub enum PaymentPagesCheckoutSessionConsentCollectionTermsOfService {
None,
Required,
}
Expand description
If set to required
, it requires customers to accept the terms of service before being able to pay.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
impl Clone for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
Source§fn clone(&self) -> PaymentPagesCheckoutSessionConsentCollectionTermsOfService
fn clone(&self) -> PaymentPagesCheckoutSessionConsentCollectionTermsOfService
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 PaymentPagesCheckoutSessionConsentCollectionTermsOfService
impl FromValueOpt for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
impl PartialEq for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
Source§fn eq(
&self,
other: &PaymentPagesCheckoutSessionConsentCollectionTermsOfService,
) -> bool
fn eq( &self, other: &PaymentPagesCheckoutSessionConsentCollectionTermsOfService, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
impl Eq for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
impl StructuralPartialEq for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
impl RefUnwindSafe for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
impl Send for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
impl Sync for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
impl Unpin for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
impl UnwindSafe for PaymentPagesCheckoutSessionConsentCollectionTermsOfService
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