pub struct EncryptedSecret {
pub key_id: SecretKeyId,
pub ciphertext: Vec<u8>,
}Expand description
The only secret value permitted in effect history. Ciphertext includes the encryption format’s nonce and authentication data; it never contains a key.
Fields§
§key_id: SecretKeyId§ciphertext: Vec<u8>Trait Implementations§
Source§impl Clone for EncryptedSecret
impl Clone for EncryptedSecret
Source§impl Debug for EncryptedSecret
impl Debug for EncryptedSecret
Source§impl<'de> Deserialize<'de> for EncryptedSecret
impl<'de> Deserialize<'de> for EncryptedSecret
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 EncryptedSecret
Source§impl PartialEq for EncryptedSecret
impl PartialEq for EncryptedSecret
Source§impl Serialize for EncryptedSecret
impl Serialize for EncryptedSecret
impl StructuralPartialEq for EncryptedSecret
Auto Trait Implementations§
impl Freeze for EncryptedSecret
impl RefUnwindSafe for EncryptedSecret
impl Send for EncryptedSecret
impl Sync for EncryptedSecret
impl Unpin for EncryptedSecret
impl UnsafeUnpin for EncryptedSecret
impl UnwindSafe for EncryptedSecret
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.