Struct aws_sdk_paymentcryptographydata::operation::generate_card_validation_data::GenerateCardValidationDataInput
source · #[non_exhaustive]pub struct GenerateCardValidationDataInput {
pub key_identifier: Option<String>,
pub primary_account_number: Option<String>,
pub generation_attributes: Option<CardGenerationAttributes>,
pub validation_data_length: Option<i32>,
}
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.key_identifier: Option<String>
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate card data.
primary_account_number: Option<String>
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
generation_attributes: Option<CardGenerationAttributes>
The algorithm for generating CVV or CSC values for the card within Amazon Web Services Payment Cryptography.
validation_data_length: Option<i32>
The length of the CVV or CSC to be generated. The default value is 3.
Implementations§
source§impl GenerateCardValidationDataInput
impl GenerateCardValidationDataInput
sourcepub fn key_identifier(&self) -> Option<&str>
pub fn key_identifier(&self) -> Option<&str>
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate card data.
sourcepub fn primary_account_number(&self) -> Option<&str>
pub fn primary_account_number(&self) -> Option<&str>
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
sourcepub fn generation_attributes(&self) -> Option<&CardGenerationAttributes>
pub fn generation_attributes(&self) -> Option<&CardGenerationAttributes>
The algorithm for generating CVV or CSC values for the card within Amazon Web Services Payment Cryptography.
sourcepub fn validation_data_length(&self) -> Option<i32>
pub fn validation_data_length(&self) -> Option<i32>
The length of the CVV or CSC to be generated. The default value is 3.
source§impl GenerateCardValidationDataInput
impl GenerateCardValidationDataInput
sourcepub fn builder() -> GenerateCardValidationDataInputBuilder
pub fn builder() -> GenerateCardValidationDataInputBuilder
Creates a new builder-style object to manufacture GenerateCardValidationDataInput
.
Trait Implementations§
source§impl Clone for GenerateCardValidationDataInput
impl Clone for GenerateCardValidationDataInput
source§fn clone(&self) -> GenerateCardValidationDataInput
fn clone(&self) -> GenerateCardValidationDataInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GenerateCardValidationDataInput
impl PartialEq for GenerateCardValidationDataInput
source§fn eq(&self, other: &GenerateCardValidationDataInput) -> bool
fn eq(&self, other: &GenerateCardValidationDataInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GenerateCardValidationDataInput
Auto Trait Implementations§
impl Freeze for GenerateCardValidationDataInput
impl RefUnwindSafe for GenerateCardValidationDataInput
impl Send for GenerateCardValidationDataInput
impl Sync for GenerateCardValidationDataInput
impl Unpin for GenerateCardValidationDataInput
impl UnwindSafe for GenerateCardValidationDataInput
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