#[non_exhaustive]pub struct Ibm3624PinVerificationBuilder { /* private fields */ }
Expand description
A builder for Ibm3624PinVerification
.
Implementations§
source§impl Ibm3624PinVerificationBuilder
impl Ibm3624PinVerificationBuilder
sourcepub fn decimalization_table(self, input: impl Into<String>) -> Self
pub fn decimalization_table(self, input: impl Into<String>) -> Self
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.
This field is required.sourcepub fn set_decimalization_table(self, input: Option<String>) -> Self
pub fn set_decimalization_table(self, input: Option<String>) -> Self
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 get_decimalization_table(&self) -> &Option<String>
pub fn get_decimalization_table(&self) -> &Option<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.
sourcepub fn pin_validation_data_pad_character(self, input: impl Into<String>) -> Self
pub fn pin_validation_data_pad_character(self, input: impl Into<String>) -> Self
The padding character for validation data.
This field is required.sourcepub fn set_pin_validation_data_pad_character(
self,
input: Option<String>,
) -> Self
pub fn set_pin_validation_data_pad_character( self, input: Option<String>, ) -> Self
The padding character for validation data.
sourcepub fn get_pin_validation_data_pad_character(&self) -> &Option<String>
pub fn get_pin_validation_data_pad_character(&self) -> &Option<String>
The padding character for validation data.
sourcepub fn pin_validation_data(self, input: impl Into<String>) -> Self
pub fn pin_validation_data(self, input: impl Into<String>) -> Self
The unique data for cardholder identification.
This field is required.sourcepub fn set_pin_validation_data(self, input: Option<String>) -> Self
pub fn set_pin_validation_data(self, input: Option<String>) -> Self
The unique data for cardholder identification.
sourcepub fn get_pin_validation_data(&self) -> &Option<String>
pub fn get_pin_validation_data(&self) -> &Option<String>
The unique data for cardholder identification.
sourcepub fn pin_offset(self, input: impl Into<String>) -> Self
pub fn pin_offset(self, input: impl Into<String>) -> Self
The PIN offset value.
This field is required.sourcepub fn set_pin_offset(self, input: Option<String>) -> Self
pub fn set_pin_offset(self, input: Option<String>) -> Self
The PIN offset value.
sourcepub fn get_pin_offset(&self) -> &Option<String>
pub fn get_pin_offset(&self) -> &Option<String>
The PIN offset value.
sourcepub fn build(self) -> Result<Ibm3624PinVerification, BuildError>
pub fn build(self) -> Result<Ibm3624PinVerification, BuildError>
Consumes the builder and constructs a Ibm3624PinVerification
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for Ibm3624PinVerificationBuilder
impl Clone for Ibm3624PinVerificationBuilder
source§fn clone(&self) -> Ibm3624PinVerificationBuilder
fn clone(&self) -> Ibm3624PinVerificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for Ibm3624PinVerificationBuilder
impl Default for Ibm3624PinVerificationBuilder
source§fn default() -> Ibm3624PinVerificationBuilder
fn default() -> Ibm3624PinVerificationBuilder
source§impl PartialEq for Ibm3624PinVerificationBuilder
impl PartialEq for Ibm3624PinVerificationBuilder
source§fn eq(&self, other: &Ibm3624PinVerificationBuilder) -> bool
fn eq(&self, other: &Ibm3624PinVerificationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Ibm3624PinVerificationBuilder
Auto Trait Implementations§
impl Freeze for Ibm3624PinVerificationBuilder
impl RefUnwindSafe for Ibm3624PinVerificationBuilder
impl Send for Ibm3624PinVerificationBuilder
impl Sync for Ibm3624PinVerificationBuilder
impl Unpin for Ibm3624PinVerificationBuilder
impl UnwindSafe for Ibm3624PinVerificationBuilder
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