Struct eth_keystore::CryptoJson
source · [−]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
sourceimpl Debug for CryptoJson
impl Debug for CryptoJson
sourceimpl<'de> Deserialize<'de> for CryptoJson
impl<'de> Deserialize<'de> for CryptoJson
sourcefn 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
sourceimpl Serialize for CryptoJson
impl Serialize for CryptoJson
Auto Trait Implementations
impl RefUnwindSafe for CryptoJson
impl Send for CryptoJson
impl Sync for CryptoJson
impl Unpin for CryptoJson
impl UnwindSafe for CryptoJson
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more