pub struct PaymentPagesCheckoutSessionConsent {
pub promotions: Option<PaymentPagesCheckoutSessionConsentPromotions>,
pub terms_of_service: Option<PaymentPagesCheckoutSessionConsentTermsOfService>,
}
Fields§
§promotions: Option<PaymentPagesCheckoutSessionConsentPromotions>
If opt_in
, the customer consents to receiving promotional communications
from the merchant about this Checkout Session.
terms_of_service: Option<PaymentPagesCheckoutSessionConsentTermsOfService>
If accepted
, the customer in this Checkout Session has agreed to the merchant’s terms of service.
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionConsent
impl Clone for PaymentPagesCheckoutSessionConsent
Source§fn clone(&self) -> PaymentPagesCheckoutSessionConsent
fn clone(&self) -> PaymentPagesCheckoutSessionConsent
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 PaymentPagesCheckoutSessionConsent
impl FromValueOpt for PaymentPagesCheckoutSessionConsent
fn from_value(v: Value) -> Option<Self>
impl Copy for PaymentPagesCheckoutSessionConsent
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionConsent
impl RefUnwindSafe for PaymentPagesCheckoutSessionConsent
impl Send for PaymentPagesCheckoutSessionConsent
impl Sync for PaymentPagesCheckoutSessionConsent
impl Unpin for PaymentPagesCheckoutSessionConsent
impl UnwindSafe for PaymentPagesCheckoutSessionConsent
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