Struct evm_state::MemoryAccount[][src]

pub struct MemoryAccount {
    pub nonce: U256,
    pub balance: U256,
    pub storage: BTreeMap<H256, H256>,
    pub code: Vec<u8, Global>,
}

Account information of a memory backend.

Fields

nonce: U256

Account nonce.

balance: U256

Account balance.

storage: BTreeMap<H256, H256>

Full account storage.

code: Vec<u8, Global>

Account code.

Trait Implementations

impl Clone for MemoryAccount[src]

impl Debug for MemoryAccount[src]

impl Default for MemoryAccount[src]

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

impl Eq for MemoryAccount[src]

impl PartialEq<MemoryAccount> for MemoryAccount[src]

impl Serialize for MemoryAccount[src]

impl StructuralEq for MemoryAccount[src]

impl StructuralPartialEq for MemoryAccount[src]

Auto Trait Implementations

impl RefUnwindSafe for MemoryAccount

impl Send for MemoryAccount

impl Sync for MemoryAccount

impl Unpin for MemoryAccount

impl UnwindSafe for MemoryAccount

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
[src]

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

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>, 
[src]