Struct google_cloudkms1_beta1::api::EncryptRequest
source · pub struct EncryptRequest {
pub additional_authenticated_data: Option<Vec<u8>>,
pub plaintext: Option<Vec<u8>>,
}
Expand description
Request message for KeyManagementService.Encrypt.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§additional_authenticated_data: Option<Vec<u8>>
Optional data that, if specified, must also be provided during decryption through DecryptRequest.additional_authenticated_data. Must be no larger than 64KiB.
plaintext: Option<Vec<u8>>
Required. The data to encrypt. Must be no larger than 64KiB.
Trait Implementations§
source§impl Clone for EncryptRequest
impl Clone for EncryptRequest
source§fn clone(&self) -> EncryptRequest
fn clone(&self) -> EncryptRequest
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 EncryptRequest
impl Debug for EncryptRequest
source§impl Default for EncryptRequest
impl Default for EncryptRequest
source§fn default() -> EncryptRequest
fn default() -> EncryptRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EncryptRequest
impl<'de> Deserialize<'de> for EncryptRequest
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
source§impl Serialize for EncryptRequest
impl Serialize for EncryptRequest
impl RequestValue for EncryptRequest
Auto Trait Implementations§
impl RefUnwindSafe for EncryptRequest
impl Send for EncryptRequest
impl Sync for EncryptRequest
impl Unpin for EncryptRequest
impl UnwindSafe for EncryptRequest
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