pub struct EncryptedWallet {
pub ows_version: u32,
pub id: String,
pub name: String,
pub created_at: String,
pub chain_type: Option<ChainType>,
pub accounts: Vec<WalletAccount>,
pub crypto: Value,
pub key_type: KeyType,
pub metadata: Value,
}Expand description
The full on-disk wallet file format (extended Ethereum Keystore v3).
Written to ~/.ows/wallets/<id>.json.
Fields§
§ows_version: u32§id: String§name: String§created_at: String§chain_type: Option<ChainType>Deprecated in v2. Kept for backward compat when deserializing v1 wallets.
accounts: Vec<WalletAccount>§crypto: Value§key_type: KeyType§metadata: ValueImplementations§
Trait Implementations§
Source§impl Clone for EncryptedWallet
impl Clone for EncryptedWallet
Source§fn clone(&self) -> EncryptedWallet
fn clone(&self) -> EncryptedWallet
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 moreSource§impl Debug for EncryptedWallet
impl Debug for EncryptedWallet
Source§impl<'de> Deserialize<'de> for EncryptedWallet
impl<'de> Deserialize<'de> for EncryptedWallet
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 EncryptedWallet
impl RefUnwindSafe for EncryptedWallet
impl Send for EncryptedWallet
impl Sync for EncryptedWallet
impl Unpin for EncryptedWallet
impl UnsafeUnpin for EncryptedWallet
impl UnwindSafe for EncryptedWallet
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