#[non_exhaustive]pub struct SessionKeyMastercard {
pub primary_account_number: String,
pub pan_sequence_number: String,
pub application_transaction_counter: String,
pub unpredictable_number: String,
}Expand description
Parameters to derive session key for Mastercard payment card for ARQC verification.
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.primary_account_number: StringThe Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
pan_sequence_number: StringA number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
application_transaction_counter: StringThe transaction counter that is provided by the terminal during transaction processing.
unpredictable_number: StringA random number generated by the issuer.
Implementations§
source§impl SessionKeyMastercard
impl SessionKeyMastercard
sourcepub fn primary_account_number(&self) -> &str
pub fn primary_account_number(&self) -> &str
The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
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 that is provided by the terminal during transaction processing.
sourcepub fn unpredictable_number(&self) -> &str
pub fn unpredictable_number(&self) -> &str
A random number generated by the issuer.
source§impl SessionKeyMastercard
impl SessionKeyMastercard
sourcepub fn builder() -> SessionKeyMastercardBuilder
pub fn builder() -> SessionKeyMastercardBuilder
Creates a new builder-style object to manufacture SessionKeyMastercard.
Trait Implementations§
source§impl Clone for SessionKeyMastercard
impl Clone for SessionKeyMastercard
source§fn clone(&self) -> SessionKeyMastercard
fn clone(&self) -> SessionKeyMastercard
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SessionKeyMastercard
impl Debug for SessionKeyMastercard
source§impl PartialEq for SessionKeyMastercard
impl PartialEq for SessionKeyMastercard
impl StructuralPartialEq for SessionKeyMastercard
Auto Trait Implementations§
impl Freeze for SessionKeyMastercard
impl RefUnwindSafe for SessionKeyMastercard
impl Send for SessionKeyMastercard
impl Sync for SessionKeyMastercard
impl Unpin for SessionKeyMastercard
impl UnwindSafe for SessionKeyMastercard
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