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