#[non_exhaustive]pub struct DynamicCardVerificationCode {
pub unpredictable_number: String,
pub pan_sequence_number: String,
pub application_transaction_counter: String,
pub track_data: String,
}
Expand description
Parameters that are required to generate or verify Dynamic Card Verification Value (dCVV).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.unpredictable_number: String
A random number generated by the issuer.
pan_sequence_number: String
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
application_transaction_counter: String
The transaction counter value that comes from the terminal.
track_data: String
The data on the two tracks of magnetic cards used for financial transactions. This includes the cardholder name, PAN, expiration date, bank ID (BIN) and several other numbers the issuing bank uses to validate the data received.
Implementations§
source§impl DynamicCardVerificationCode
impl DynamicCardVerificationCode
sourcepub fn unpredictable_number(&self) -> &str
pub fn unpredictable_number(&self) -> &str
A random number generated by the issuer.
sourcepub fn pan_sequence_number(&self) -> &str
pub fn pan_sequence_number(&self) -> &str
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
sourcepub fn application_transaction_counter(&self) -> &str
pub fn application_transaction_counter(&self) -> &str
The transaction counter value that comes from the terminal.
sourcepub fn track_data(&self) -> &str
pub fn track_data(&self) -> &str
The data on the two tracks of magnetic cards used for financial transactions. This includes the cardholder name, PAN, expiration date, bank ID (BIN) and several other numbers the issuing bank uses to validate the data received.
source§impl DynamicCardVerificationCode
impl DynamicCardVerificationCode
sourcepub fn builder() -> DynamicCardVerificationCodeBuilder
pub fn builder() -> DynamicCardVerificationCodeBuilder
Creates a new builder-style object to manufacture DynamicCardVerificationCode
.
Trait Implementations§
source§impl Clone for DynamicCardVerificationCode
impl Clone for DynamicCardVerificationCode
source§fn clone(&self) -> DynamicCardVerificationCode
fn clone(&self) -> DynamicCardVerificationCode
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DynamicCardVerificationCode
impl Debug for DynamicCardVerificationCode
source§impl PartialEq for DynamicCardVerificationCode
impl PartialEq for DynamicCardVerificationCode
source§fn eq(&self, other: &DynamicCardVerificationCode) -> bool
fn eq(&self, other: &DynamicCardVerificationCode) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DynamicCardVerificationCode
Auto Trait Implementations§
impl Freeze for DynamicCardVerificationCode
impl RefUnwindSafe for DynamicCardVerificationCode
impl Send for DynamicCardVerificationCode
impl Sync for DynamicCardVerificationCode
impl Unpin for DynamicCardVerificationCode
impl UnwindSafe for DynamicCardVerificationCode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more