pub enum PaymentNetwork {
Visa,
Mastercard,
Discover,
JCB,
AmericanExpress,
UnionPay,
DinersClub,
Unknown,
}
Expand description
Payment network associated with a Card
Variants§
Visa
Visa
Mastercard
Mastercard
Discover
Discover Global Network
JCB
JCB Co
AmericanExpress
American Express
UnionPay
UnionPay
DinersClub
Diners
Unknown
Unknown
Trait Implementations§
Source§impl Clone for PaymentNetwork
impl Clone for PaymentNetwork
Source§fn clone(&self) -> PaymentNetwork
fn clone(&self) -> PaymentNetwork
Returns a copy 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 PaymentNetwork
impl Debug for PaymentNetwork
Source§impl Default for PaymentNetwork
impl Default for PaymentNetwork
Source§impl<'de> Deserialize<'de> for PaymentNetwork
impl<'de> Deserialize<'de> for PaymentNetwork
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for PaymentNetwork
impl FromStr for PaymentNetwork
Source§impl Serialize for PaymentNetwork
impl Serialize for PaymentNetwork
Auto Trait Implementations§
impl Freeze for PaymentNetwork
impl RefUnwindSafe for PaymentNetwork
impl Send for PaymentNetwork
impl Sync for PaymentNetwork
impl Unpin for PaymentNetwork
impl UnwindSafe for PaymentNetwork
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