Struct vapcore_accounts::AccountMeta[][src]

pub struct AccountMeta {
    pub name: String,
    pub meta: String,
    pub uuid: Option<String>,
}

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).

Implementations

impl AccountMeta[src]

pub fn read<R>(reader: R) -> Result<HashMap<Address, Self>, Error> where
    R: Read
[src]

Read a hash map of Address -> AccountMeta

pub fn write<W>(m: &HashMap<Address, Self>, writer: &mut W) -> Result<(), Error> where
    W: Write
[src]

Write a hash map of Address -> AccountMeta

Trait Implementations

impl Clone for AccountMeta[src]

impl Debug for AccountMeta[src]

impl Default for AccountMeta[src]

impl<'de> Deserialize<'de> for AccountMeta[src]

impl PartialEq<AccountMeta> for AccountMeta[src]

impl Serialize for AccountMeta[src]

impl StructuralPartialEq for AccountMeta[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,