pub enum PaymentCardType {
Auto,
Debit,
Credit,
Other,
}Expand description
Requested card handling for a payment (request “Payment type”: 0..3).
Variants§
Auto
Let the terminal decide ('0').
Debit
Force debit ('1').
Credit
Force credit ('2').
Other
Other ('3').
Implementations§
Trait Implementations§
Source§impl Clone for PaymentCardType
impl Clone for PaymentCardType
Source§fn clone(&self) -> PaymentCardType
fn clone(&self) -> PaymentCardType
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 moreimpl Copy for PaymentCardType
Source§impl Debug for PaymentCardType
impl Debug for PaymentCardType
Source§impl Default for PaymentCardType
impl Default for PaymentCardType
Source§fn default() -> PaymentCardType
fn default() -> PaymentCardType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentCardType
impl<'de> Deserialize<'de> for PaymentCardType
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
impl Eq for PaymentCardType
Source§impl PartialEq for PaymentCardType
impl PartialEq for PaymentCardType
Source§impl Serialize for PaymentCardType
impl Serialize for PaymentCardType
impl StructuralPartialEq for PaymentCardType
Auto Trait Implementations§
impl Freeze for PaymentCardType
impl RefUnwindSafe for PaymentCardType
impl Send for PaymentCardType
impl Sync for PaymentCardType
impl Unpin for PaymentCardType
impl UnsafeUnpin for PaymentCardType
impl UnwindSafe for PaymentCardType
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