pub struct EncryptedKey {
pub ciphertext: String,
pub iv: String,
pub tag: String,
}
Fields§
§ciphertext: String
§iv: String
§tag: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EncryptedKey
impl<'de> Deserialize<'de> for EncryptedKey
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 From<Encryption> for EncryptedKey
impl From<Encryption> for EncryptedKey
Source§fn from(encryption: Encryption) -> EncryptedKey
fn from(encryption: Encryption) -> EncryptedKey
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EncryptedKey
impl RefUnwindSafe for EncryptedKey
impl Send for EncryptedKey
impl Sync for EncryptedKey
impl Unpin for EncryptedKey
impl UnwindSafe for EncryptedKey
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