pub struct EncryptInput {
pub dry_run: Option<bool>,
pub encryption_algorithm: Option<EncryptionAlgorithmSpec>,
pub encryption_context: HashMap<String, String>,
pub grant_tokens: Vec<String>,
pub key_id: String,
pub plaintext: Bytes,
}Expand description
KMS EncryptInput.
Fields§
§dry_run: Option<bool>§encryption_algorithm: Option<EncryptionAlgorithmSpec>§encryption_context: HashMap<String, String>§grant_tokens: Vec<String>§key_id: String§plaintext: BytesTrait Implementations§
Source§impl Clone for EncryptInput
impl Clone for EncryptInput
Source§fn clone(&self) -> EncryptInput
fn clone(&self) -> EncryptInput
Returns a duplicate 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 EncryptInput
impl Debug for EncryptInput
Source§impl Default for EncryptInput
impl Default for EncryptInput
Source§fn default() -> EncryptInput
fn default() -> EncryptInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EncryptInput
impl<'de> Deserialize<'de> for EncryptInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !Freeze for EncryptInput
impl RefUnwindSafe for EncryptInput
impl Send for EncryptInput
impl Sync for EncryptInput
impl Unpin for EncryptInput
impl UnsafeUnpin for EncryptInput
impl UnwindSafe for EncryptInput
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