pub struct PaymentCard {
pub pan: String,
pub holder: Option<String>,
}Expand description
BG-18 card. BT-87 PAN, BT-88 holder. Tests use obviously fake PANs.
Fields§
§pan: StringBT-87 payment card primary account number.
holder: Option<String>BT-88 payment card holder name.
Trait Implementations§
Source§impl Clone for PaymentCard
impl Clone for PaymentCard
Source§fn clone(&self) -> PaymentCard
fn clone(&self) -> PaymentCard
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 moreSource§impl Debug for PaymentCard
impl Debug for PaymentCard
impl Eq for PaymentCard
Source§impl PartialEq for PaymentCard
impl PartialEq for PaymentCard
impl StructuralPartialEq for PaymentCard
Auto Trait Implementations§
impl Freeze for PaymentCard
impl RefUnwindSafe for PaymentCard
impl Send for PaymentCard
impl Sync for PaymentCard
impl Unpin for PaymentCard
impl UnsafeUnpin for PaymentCard
impl UnwindSafe for PaymentCard
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