Struct ethjson::misc::AccountMeta [−][src]
Collected account metadata
Fields
name: String
The name of the account.
meta: String
The rest of the metadata of the account.
uuid: Option<String>
The 128-bit Uuid of the account, if it has one (brain-wallets don't).
Methods
impl AccountMeta[src]
impl AccountMetapub fn read<R, S, D>(reader: R) -> Result<HashMap<D, S>, Error> where
R: Read,
D: From<Address> + Hash + Eq,
S: From<AccountMeta> + Clone, [src]
pub fn read<R, S, D>(reader: R) -> Result<HashMap<D, S>, Error> where
R: Read,
D: From<Address> + Hash + Eq,
S: From<AccountMeta> + Clone, Read a hash map of DappId -> $name
pub fn write<W, S, D>(m: &HashMap<D, S>, writer: &mut W) -> Result<(), Error> where
W: Write,
D: Into<Address> + Hash + Eq + Clone,
S: Into<AccountMeta> + Clone, [src]
pub fn write<W, S, D>(m: &HashMap<D, S>, writer: &mut W) -> Result<(), Error> where
W: Write,
D: Into<Address> + Hash + Eq + Clone,
S: Into<AccountMeta> + Clone, Write a hash map of DappId -> $name
Trait Implementations
impl Default for AccountMeta[src]
impl Default for AccountMetafn default() -> AccountMeta[src]
fn default() -> AccountMetaReturns the "default value" for a type. Read more
impl Clone for AccountMeta[src]
impl Clone for AccountMetafn clone(&self) -> AccountMeta[src]
fn clone(&self) -> AccountMetaReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for AccountMeta[src]
impl Debug for AccountMetafn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for AccountMeta[src]
impl PartialEq for AccountMetafn eq(&self, other: &AccountMeta) -> bool[src]
fn eq(&self, other: &AccountMeta) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AccountMeta) -> bool[src]
fn ne(&self, other: &AccountMeta) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for AccountMeta
impl Send for AccountMetaimpl Sync for AccountMeta
impl Sync for AccountMeta