pub struct KmsWrappedKey {
pub kms_key_id: String,
pub key_version: String,
pub wrapped_dek: Vec<u8>,
pub algorithm: String,
}Expand description
KMS-wrapped data encryption key metadata (spec §14.3).
Fields§
§kms_key_id: StringKMS key id.
key_version: StringKey version for online rotation.
wrapped_dek: Vec<u8>Wrapped DEK ciphertext.
algorithm: StringAlgorithm id.
Trait Implementations§
Source§impl Clone for KmsWrappedKey
impl Clone for KmsWrappedKey
Source§fn clone(&self) -> KmsWrappedKey
fn clone(&self) -> KmsWrappedKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KmsWrappedKey
impl Debug for KmsWrappedKey
Source§impl<'de> Deserialize<'de> for KmsWrappedKey
impl<'de> Deserialize<'de> for KmsWrappedKey
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
impl Eq for KmsWrappedKey
Source§impl PartialEq for KmsWrappedKey
impl PartialEq for KmsWrappedKey
Source§impl Serialize for KmsWrappedKey
impl Serialize for KmsWrappedKey
impl StructuralPartialEq for KmsWrappedKey
Auto Trait Implementations§
impl Freeze for KmsWrappedKey
impl RefUnwindSafe for KmsWrappedKey
impl Send for KmsWrappedKey
impl Sync for KmsWrappedKey
impl Unpin for KmsWrappedKey
impl UnsafeUnpin for KmsWrappedKey
impl UnwindSafe for KmsWrappedKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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>
Converts
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>
Converts
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