pub struct CryptoJson {
pub cipher: String,
pub cipherparams: CipherparamsJson,
pub ciphertext: Vec<u8>,
pub kdf: KdfType,
pub kdfparams: KdfparamsType,
pub mac: Vec<u8>,
}
Expand description
Represents the “crypto” part of an encrypted JSON keystore.
Fields§
§cipher: String
§cipherparams: CipherparamsJson
§ciphertext: Vec<u8>
§kdf: KdfType
§kdfparams: KdfparamsType
§mac: Vec<u8>
Trait Implementations§
Source§impl Debug for CryptoJson
impl Debug for CryptoJson
Source§impl<'de> Deserialize<'de> for CryptoJson
impl<'de> Deserialize<'de> for CryptoJson
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
Auto Trait Implementations§
impl Freeze for CryptoJson
impl RefUnwindSafe for CryptoJson
impl Send for CryptoJson
impl Sync for CryptoJson
impl Unpin for CryptoJson
impl UnwindSafe for CryptoJson
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