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 AccountMeta
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,
[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 AccountMeta
fn default() -> AccountMeta
[src]
fn default() -> AccountMeta
Returns the "default value" for a type. Read more
impl Clone for AccountMeta
[src]
impl Clone for AccountMeta
fn clone(&self) -> AccountMeta
[src]
fn clone(&self) -> AccountMeta
Returns 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 AccountMeta
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for AccountMeta
[src]
impl PartialEq for AccountMeta
fn eq(&self, other: &AccountMeta) -> bool
[src]
fn eq(&self, other: &AccountMeta) -> bool
This 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) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for AccountMeta
impl Send for AccountMeta
impl Sync for AccountMeta
impl Sync for AccountMeta