#[non_exhaustive]pub enum CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition {
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 CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
impl Clone for CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
Source§fn clone(
&self,
) -> CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
fn clone( &self, ) -> CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
Available on non-crate feature redact-generated-debug only.
impl Debug for CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
Available on non-crate feature
redact-generated-debug only.impl Eq for CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
impl StructuralPartialEq for CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
impl RefUnwindSafe for CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
impl Send for CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
impl Sync for CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
impl Unpin for CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
impl UnsafeUnpin for CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
impl UnwindSafe for CreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
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