#[non_exhaustive]pub struct EncryptDataInput {
pub key_identifier: Option<String>,
pub plain_text: Option<String>,
pub encryption_attributes: Option<EncryptionDecryptionAttributes>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.key_identifier: Option<String>
The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
plain_text: Option<String>
The plaintext to be encrypted.
encryption_attributes: Option<EncryptionDecryptionAttributes>
The encryption key type and attributes for plaintext encryption.
Implementations§
source§impl EncryptDataInput
impl EncryptDataInput
sourcepub fn key_identifier(&self) -> Option<&str>
pub fn key_identifier(&self) -> Option<&str>
The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
sourcepub fn plain_text(&self) -> Option<&str>
pub fn plain_text(&self) -> Option<&str>
The plaintext to be encrypted.
sourcepub fn encryption_attributes(&self) -> Option<&EncryptionDecryptionAttributes>
pub fn encryption_attributes(&self) -> Option<&EncryptionDecryptionAttributes>
The encryption key type and attributes for plaintext encryption.
source§impl EncryptDataInput
impl EncryptDataInput
sourcepub fn builder() -> EncryptDataInputBuilder
pub fn builder() -> EncryptDataInputBuilder
Creates a new builder-style object to manufacture EncryptDataInput
.
Trait Implementations§
source§impl Clone for EncryptDataInput
impl Clone for EncryptDataInput
source§fn clone(&self) -> EncryptDataInput
fn clone(&self) -> EncryptDataInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EncryptDataInput
impl Debug for EncryptDataInput
source§impl PartialEq<EncryptDataInput> for EncryptDataInput
impl PartialEq<EncryptDataInput> for EncryptDataInput
source§fn eq(&self, other: &EncryptDataInput) -> bool
fn eq(&self, other: &EncryptDataInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EncryptDataInput
Auto Trait Implementations§
impl RefUnwindSafe for EncryptDataInput
impl Send for EncryptDataInput
impl Sync for EncryptDataInput
impl Unpin for EncryptDataInput
impl UnwindSafe for EncryptDataInput
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
Mutably borrows from an owned value. Read more