pub struct PaymentMethodDetailsPassthroughCard {
pub brand: Option<String>,
pub country: Option<String>,
pub exp_month: Option<i64>,
pub exp_year: Option<i64>,
pub funding: Option<String>,
pub last4: Option<String>,
}
Fields§
§brand: Option<String>
Card brand.
Can be amex
, diners
, discover
, eftpos_au
, jcb
, link
, mastercard
, unionpay
, visa
, or unknown
.
country: Option<String>
Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you’ve collected.
exp_month: Option<i64>
Two-digit number representing the card’s expiration month.
exp_year: Option<i64>
Four-digit number representing the card’s expiration year.
funding: Option<String>
Card funding type. Can be credit
, debit
, prepaid
, or unknown
.
last4: Option<String>
The last four digits of the card.
Trait Implementations§
Source§impl Clone for PaymentMethodDetailsPassthroughCard
impl Clone for PaymentMethodDetailsPassthroughCard
Source§fn clone(&self) -> PaymentMethodDetailsPassthroughCard
fn clone(&self) -> PaymentMethodDetailsPassthroughCard
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 FromValueOpt for PaymentMethodDetailsPassthroughCard
impl FromValueOpt for PaymentMethodDetailsPassthroughCard
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentMethodDetailsPassthroughCard
impl RefUnwindSafe for PaymentMethodDetailsPassthroughCard
impl Send for PaymentMethodDetailsPassthroughCard
impl Sync for PaymentMethodDetailsPassthroughCard
impl Unpin for PaymentMethodDetailsPassthroughCard
impl UnwindSafe for PaymentMethodDetailsPassthroughCard
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