Enum vapjson::spec::state::HashOrMap[][src]

pub enum HashOrMap {
    Hash(H256),
    Map(BTreeMap<Address, Account>),
}

Recent JSON tests can be either a map or a hash (represented by a string). See https://github.com/vaporyco/tests/issues/637

Variants

Hash(H256)

When the postState is large, tests sometimes just include the state root of the last successful block here.

The expected postState of a test

Trait Implementations

impl Debug for HashOrMap[src]

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

impl PartialEq<HashOrMap> for HashOrMap[src]

impl StructuralPartialEq for HashOrMap[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, 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>,