#[non_exhaustive]pub enum CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition {
Auto,
Hidden,
Unknown(String),
}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 (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
Hidden
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
impl Clone for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
Source§fn clone(
&self,
) -> CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
fn clone( &self, ) -> CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
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 Debug for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
Available on non-crate feature redact-generated-debug only.
impl Debug for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
Available on non-crate feature
redact-generated-debug only.Source§impl PartialEq for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
impl PartialEq for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
Source§fn eq(
&self,
other: &CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition,
) -> bool
fn eq( &self, other: &CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
impl StructuralPartialEq for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
Auto Trait Implementations§
impl Freeze for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
impl RefUnwindSafe for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
impl Send for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
impl Sync for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
impl Unpin for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
impl UnsafeUnpin for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
impl UnwindSafe for CreatePaymentLinkConsentCollectionPaymentMethodReuseAgreementPosition
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