#[non_exhaustive]pub struct Ibm3624PinOffset {
pub encrypted_pin_block: String,
pub decimalization_table: String,
pub pin_validation_data_pad_character: String,
pub pin_validation_data: String,
}
Expand description
Pparameters that are required to generate or verify Ibm3624 PIN offset PIN.
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.encrypted_pin_block: String
The encrypted PIN block data. According to ISO 9564 standard, a PIN Block is an encoded representation of a payment card Personal Account Number (PAN) and the cardholder Personal Identification Number (PIN).
decimalization_table: String
The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.
pin_validation_data_pad_character: String
The padding character for validation data.
pin_validation_data: String
The unique data for cardholder identification.
Implementations§
source§impl Ibm3624PinOffset
impl Ibm3624PinOffset
sourcepub fn encrypted_pin_block(&self) -> &str
pub fn encrypted_pin_block(&self) -> &str
The encrypted PIN block data. According to ISO 9564 standard, a PIN Block is an encoded representation of a payment card Personal Account Number (PAN) and the cardholder Personal Identification Number (PIN).
sourcepub fn decimalization_table(&self) -> &str
pub fn decimalization_table(&self) -> &str
The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.
sourcepub fn pin_validation_data_pad_character(&self) -> &str
pub fn pin_validation_data_pad_character(&self) -> &str
The padding character for validation data.
sourcepub fn pin_validation_data(&self) -> &str
pub fn pin_validation_data(&self) -> &str
The unique data for cardholder identification.
source§impl Ibm3624PinOffset
impl Ibm3624PinOffset
sourcepub fn builder() -> Ibm3624PinOffsetBuilder
pub fn builder() -> Ibm3624PinOffsetBuilder
Creates a new builder-style object to manufacture Ibm3624PinOffset
.
Trait Implementations§
source§impl Clone for Ibm3624PinOffset
impl Clone for Ibm3624PinOffset
source§fn clone(&self) -> Ibm3624PinOffset
fn clone(&self) -> Ibm3624PinOffset
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Ibm3624PinOffset
impl Debug for Ibm3624PinOffset
source§impl PartialEq for Ibm3624PinOffset
impl PartialEq for Ibm3624PinOffset
impl StructuralPartialEq for Ibm3624PinOffset
Auto Trait Implementations§
impl Freeze for Ibm3624PinOffset
impl RefUnwindSafe for Ibm3624PinOffset
impl Send for Ibm3624PinOffset
impl Sync for Ibm3624PinOffset
impl Unpin for Ibm3624PinOffset
impl UnwindSafe for Ibm3624PinOffset
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