pub enum PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition {
Auto,
Hidden,
}Expand description
Determines the position and visibility of the payment method reuse agreement in the UI.
When set to auto, Stripe’s defaults will be used.
When set to hidden, the payment method reuse agreement text will always be hidden in the UI.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
impl Clone for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
Source§fn clone(
&self,
) -> PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
fn clone( &self, ) -> PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
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 PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
impl FromValueOpt for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
impl PartialEq for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
Source§fn eq(
&self,
other: &PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition,
) -> bool
fn eq( &self, other: &PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
impl Eq for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
impl StructuralPartialEq for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
impl RefUnwindSafe for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
impl Send for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
impl Sync for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
impl Unpin for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
impl UnwindSafe for PaymentPagesCheckoutSessionPaymentMethodReuseAgreementPosition
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