#[non_exhaustive]pub struct AmexCardSecurityCodeVersion1 {
pub card_expiry_date: Option<String>,
}
Expand description
Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.card_expiry_date: Option<String>
The expiry date of a payment card.
Implementations§
source§impl AmexCardSecurityCodeVersion1
impl AmexCardSecurityCodeVersion1
sourcepub fn card_expiry_date(&self) -> Option<&str>
pub fn card_expiry_date(&self) -> Option<&str>
The expiry date of a payment card.
source§impl AmexCardSecurityCodeVersion1
impl AmexCardSecurityCodeVersion1
sourcepub fn builder() -> AmexCardSecurityCodeVersion1Builder
pub fn builder() -> AmexCardSecurityCodeVersion1Builder
Creates a new builder-style object to manufacture AmexCardSecurityCodeVersion1
.
Trait Implementations§
source§impl Clone for AmexCardSecurityCodeVersion1
impl Clone for AmexCardSecurityCodeVersion1
source§fn clone(&self) -> AmexCardSecurityCodeVersion1
fn clone(&self) -> AmexCardSecurityCodeVersion1
Returns a copy 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 AmexCardSecurityCodeVersion1
impl Debug for AmexCardSecurityCodeVersion1
source§impl PartialEq<AmexCardSecurityCodeVersion1> for AmexCardSecurityCodeVersion1
impl PartialEq<AmexCardSecurityCodeVersion1> for AmexCardSecurityCodeVersion1
source§fn eq(&self, other: &AmexCardSecurityCodeVersion1) -> bool
fn eq(&self, other: &AmexCardSecurityCodeVersion1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AmexCardSecurityCodeVersion1
Auto Trait Implementations§
impl RefUnwindSafe for AmexCardSecurityCodeVersion1
impl Send for AmexCardSecurityCodeVersion1
impl Sync for AmexCardSecurityCodeVersion1
impl Unpin for AmexCardSecurityCodeVersion1
impl UnwindSafe for AmexCardSecurityCodeVersion1
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