pub enum PaymentIntentPaymentMethodOptionsCardNetwork {
Show 13 variants
Amex,
CartesBancaires,
Diners,
Discover,
EftposAu,
Girocard,
Interac,
Jcb,
Link,
Mastercard,
Unionpay,
Unknown,
Visa,
}
Expand description
Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
Variants§
Amex
CartesBancaires
Diners
Discover
EftposAu
Girocard
Interac
Jcb
Link
Mastercard
Unionpay
Unknown
Visa
Implementations§
Trait Implementations§
Source§impl Clone for PaymentIntentPaymentMethodOptionsCardNetwork
impl Clone for PaymentIntentPaymentMethodOptionsCardNetwork
Source§fn clone(&self) -> PaymentIntentPaymentMethodOptionsCardNetwork
fn clone(&self) -> PaymentIntentPaymentMethodOptionsCardNetwork
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 FromStr for PaymentIntentPaymentMethodOptionsCardNetwork
impl FromStr for PaymentIntentPaymentMethodOptionsCardNetwork
Source§type Err = StripeParseError
type Err = StripeParseError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<PaymentIntentPaymentMethodOptionsCardNetwork, <PaymentIntentPaymentMethodOptionsCardNetwork as FromStr>::Err>
fn from_str( s: &str, ) -> Result<PaymentIntentPaymentMethodOptionsCardNetwork, <PaymentIntentPaymentMethodOptionsCardNetwork as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§impl PartialEq for PaymentIntentPaymentMethodOptionsCardNetwork
impl PartialEq for PaymentIntentPaymentMethodOptionsCardNetwork
Source§fn eq(&self, other: &PaymentIntentPaymentMethodOptionsCardNetwork) -> bool
fn eq(&self, other: &PaymentIntentPaymentMethodOptionsCardNetwork) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PaymentIntentPaymentMethodOptionsCardNetwork
impl Eq for PaymentIntentPaymentMethodOptionsCardNetwork
impl StructuralPartialEq for PaymentIntentPaymentMethodOptionsCardNetwork
Auto Trait Implementations§
impl Freeze for PaymentIntentPaymentMethodOptionsCardNetwork
impl RefUnwindSafe for PaymentIntentPaymentMethodOptionsCardNetwork
impl Send for PaymentIntentPaymentMethodOptionsCardNetwork
impl Sync for PaymentIntentPaymentMethodOptionsCardNetwork
impl Unpin for PaymentIntentPaymentMethodOptionsCardNetwork
impl UnwindSafe for PaymentIntentPaymentMethodOptionsCardNetwork
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