pub enum PaymentPagesCheckoutSessionConsentCollectionPromotions {
Auto,
None,
}
Expand description
If set to auto
, enables the collection of customer consent for promotional communications.
The Checkout.
Session will determine whether to display an option to opt into promotional communication
from the merchant depending on the customer’s locale. Only available to US merchants.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionConsentCollectionPromotions
impl Clone for PaymentPagesCheckoutSessionConsentCollectionPromotions
Source§fn clone(&self) -> PaymentPagesCheckoutSessionConsentCollectionPromotions
fn clone(&self) -> PaymentPagesCheckoutSessionConsentCollectionPromotions
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 PaymentPagesCheckoutSessionConsentCollectionPromotions
impl FromValueOpt for PaymentPagesCheckoutSessionConsentCollectionPromotions
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentPagesCheckoutSessionConsentCollectionPromotions
impl PartialEq for PaymentPagesCheckoutSessionConsentCollectionPromotions
Source§fn eq(
&self,
other: &PaymentPagesCheckoutSessionConsentCollectionPromotions,
) -> bool
fn eq( &self, other: &PaymentPagesCheckoutSessionConsentCollectionPromotions, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PaymentPagesCheckoutSessionConsentCollectionPromotions
impl Eq for PaymentPagesCheckoutSessionConsentCollectionPromotions
impl StructuralPartialEq for PaymentPagesCheckoutSessionConsentCollectionPromotions
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionConsentCollectionPromotions
impl RefUnwindSafe for PaymentPagesCheckoutSessionConsentCollectionPromotions
impl Send for PaymentPagesCheckoutSessionConsentCollectionPromotions
impl Sync for PaymentPagesCheckoutSessionConsentCollectionPromotions
impl Unpin for PaymentPagesCheckoutSessionConsentCollectionPromotions
impl UnwindSafe for PaymentPagesCheckoutSessionConsentCollectionPromotions
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