#[non_exhaustive]pub struct Ibm3624RandomPinBuilder { /* private fields */ }
Expand description
A builder for Ibm3624RandomPin
.
Implementations§
source§impl Ibm3624RandomPinBuilder
impl Ibm3624RandomPinBuilder
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 build(self) -> Result<Ibm3624RandomPin, BuildError>
pub fn build(self) -> Result<Ibm3624RandomPin, BuildError>
Consumes the builder and constructs a Ibm3624RandomPin
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for Ibm3624RandomPinBuilder
impl Clone for Ibm3624RandomPinBuilder
source§fn clone(&self) -> Ibm3624RandomPinBuilder
fn clone(&self) -> Ibm3624RandomPinBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Ibm3624RandomPinBuilder
impl Debug for Ibm3624RandomPinBuilder
source§impl Default for Ibm3624RandomPinBuilder
impl Default for Ibm3624RandomPinBuilder
source§fn default() -> Ibm3624RandomPinBuilder
fn default() -> Ibm3624RandomPinBuilder
source§impl PartialEq for Ibm3624RandomPinBuilder
impl PartialEq for Ibm3624RandomPinBuilder
source§fn eq(&self, other: &Ibm3624RandomPinBuilder) -> bool
fn eq(&self, other: &Ibm3624RandomPinBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Ibm3624RandomPinBuilder
Auto Trait Implementations§
impl Freeze for Ibm3624RandomPinBuilder
impl RefUnwindSafe for Ibm3624RandomPinBuilder
impl Send for Ibm3624RandomPinBuilder
impl Sync for Ibm3624RandomPinBuilder
impl Unpin for Ibm3624RandomPinBuilder
impl UnwindSafe for Ibm3624RandomPinBuilder
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