pub struct PaymentMethodCard {Show 16 fields
pub type: String,
pub card_number_type: CardNumberType,
pub number: String,
pub exp_month: Option<String>,
pub exp_year: Option<String>,
pub name: Option<String>,
pub cvc: Option<String>,
pub cryptogram: Option<String>,
pub eci_value: Option<String>,
pub checks_performed: Option<Vec<CheckPerformedType>>,
pub iin: Option<String>,
pub display_card_funding_type: CardFundingType,
pub display_wallet_type: Option<String>,
pub display_brand: Option<String>,
pub display_last4: Option<String>,
pub metadata: HashMap<String, String>,
}Fields§
§type: String§card_number_type: CardNumberType§number: String§exp_month: Option<String>§exp_year: Option<String>§name: Option<String>§cvc: Option<String>§cryptogram: Option<String>§eci_value: Option<String>§checks_performed: Option<Vec<CheckPerformedType>>§iin: Option<String>§display_card_funding_type: CardFundingType§display_wallet_type: Option<String>§display_brand: Option<String>§display_last4: Option<String>§metadata: HashMap<String, String>Trait Implementations§
Source§impl Clone for PaymentMethodCard
impl Clone for PaymentMethodCard
Source§fn clone(&self) -> PaymentMethodCard
fn clone(&self) -> PaymentMethodCard
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 Debug for PaymentMethodCard
impl Debug for PaymentMethodCard
Source§impl<'de> Deserialize<'de> for PaymentMethodCard
impl<'de> Deserialize<'de> for PaymentMethodCard
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 PartialEq for PaymentMethodCard
impl PartialEq for PaymentMethodCard
Source§impl Serialize for PaymentMethodCard
impl Serialize for PaymentMethodCard
impl StructuralPartialEq for PaymentMethodCard
Auto Trait Implementations§
impl Freeze for PaymentMethodCard
impl RefUnwindSafe for PaymentMethodCard
impl Send for PaymentMethodCard
impl Sync for PaymentMethodCard
impl Unpin for PaymentMethodCard
impl UnwindSafe for PaymentMethodCard
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