pub struct InternalCard {
pub brand: Option<String>,
pub country: Option<String>,
pub exp_month: Option<i64>,
pub exp_year: Option<i64>,
pub last4: Option<String>,
}
Fields§
§brand: Option<String>
Brand of the card used in the transaction
country: Option<String>
Two-letter ISO code representing the country of the card
exp_month: Option<i64>
Two digit number representing the card’s expiration month
exp_year: Option<i64>
Two digit number representing the card’s expiration year
last4: Option<String>
The last 4 digits of the card
Trait Implementations§
Source§impl Clone for InternalCard
impl Clone for InternalCard
Source§fn clone(&self) -> InternalCard
fn clone(&self) -> InternalCard
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 InternalCard
impl Debug for InternalCard
Source§impl Deserialize for InternalCard
impl Deserialize for InternalCard
Source§impl FromValueOpt for InternalCard
impl FromValueOpt for InternalCard
fn from_value(v: Value) -> Option<Self>
Source§impl ObjectDeser for InternalCard
impl ObjectDeser for InternalCard
Auto Trait Implementations§
impl Freeze for InternalCard
impl RefUnwindSafe for InternalCard
impl Send for InternalCard
impl Sync for InternalCard
impl Unpin for InternalCard
impl UnwindSafe for InternalCard
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