#[non_exhaustive]pub enum ConfirmPaymentIntentPaymentMethodOptionsCardNetwork {
Show 14 variants
Amex,
CartesBancaires,
Diners,
Discover,
EftposAu,
Girocard,
Interac,
Jcb,
Link,
Mastercard,
Unionpay,
Unknown,
Visa,
_Unknown(String),
}Expand description
Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
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.
Amex
CartesBancaires
Diners
Discover
EftposAu
Girocard
Interac
Jcb
Link
Mastercard
Unionpay
Unknown
Visa
_Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter. This variant is prefixed with an underscore to avoid conflicts with Stripe’s ‘Unknown’ variant.
Implementations§
Trait Implementations§
Source§impl Clone for ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
impl Clone for ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
Source§fn clone(&self) -> ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
fn clone(&self) -> ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
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 PartialEq for ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
impl PartialEq for ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
Source§fn eq(
&self,
other: &ConfirmPaymentIntentPaymentMethodOptionsCardNetwork,
) -> bool
fn eq( &self, other: &ConfirmPaymentIntentPaymentMethodOptionsCardNetwork, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
impl StructuralPartialEq for ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
Auto Trait Implementations§
impl Freeze for ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
impl RefUnwindSafe for ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
impl Send for ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
impl Sync for ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
impl Unpin for ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
impl UnwindSafe for ConfirmPaymentIntentPaymentMethodOptionsCardNetwork
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