pub enum PaymentPagesCheckoutSessionConsentPromotions {
OptIn,
OptOut,
}
Expand description
If opt_in
, the customer consents to receiving promotional communications
from the merchant about this Checkout Session.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionConsentPromotions
impl Clone for PaymentPagesCheckoutSessionConsentPromotions
Source§fn clone(&self) -> PaymentPagesCheckoutSessionConsentPromotions
fn clone(&self) -> PaymentPagesCheckoutSessionConsentPromotions
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 PaymentPagesCheckoutSessionConsentPromotions
impl FromValueOpt for PaymentPagesCheckoutSessionConsentPromotions
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentPagesCheckoutSessionConsentPromotions
impl PartialEq for PaymentPagesCheckoutSessionConsentPromotions
Source§fn eq(&self, other: &PaymentPagesCheckoutSessionConsentPromotions) -> bool
fn eq(&self, other: &PaymentPagesCheckoutSessionConsentPromotions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PaymentPagesCheckoutSessionConsentPromotions
impl Eq for PaymentPagesCheckoutSessionConsentPromotions
impl StructuralPartialEq for PaymentPagesCheckoutSessionConsentPromotions
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionConsentPromotions
impl RefUnwindSafe for PaymentPagesCheckoutSessionConsentPromotions
impl Send for PaymentPagesCheckoutSessionConsentPromotions
impl Sync for PaymentPagesCheckoutSessionConsentPromotions
impl Unpin for PaymentPagesCheckoutSessionConsentPromotions
impl UnwindSafe for PaymentPagesCheckoutSessionConsentPromotions
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