pub struct EncryptedValue {
pub ciphertext: Vec<u8>,
pub cek_id: u32,
pub encryption_type: EncryptionType,
}Expand description
Represents an encrypted value with its metadata.
This is used internally to track encrypted parameter values.
Fields§
§ciphertext: Vec<u8>The ciphertext bytes.
cek_id: u32The CEK ID used for encryption.
encryption_type: EncryptionTypeThe encryption type.
Trait Implementations§
Source§impl Clone for EncryptedValue
impl Clone for EncryptedValue
Source§fn clone(&self) -> EncryptedValue
fn clone(&self) -> EncryptedValue
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 moreAuto Trait Implementations§
impl Freeze for EncryptedValue
impl RefUnwindSafe for EncryptedValue
impl Send for EncryptedValue
impl Sync for EncryptedValue
impl Unpin for EncryptedValue
impl UnwindSafe for EncryptedValue
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