Struct evm::backend::MemoryVicinity[][src]

pub struct MemoryVicinity {
    pub gas_price: U256,
    pub origin: H160,
    pub chain_id: U256,
    pub block_hashes: Vec<H256>,
    pub block_number: U256,
    pub block_coinbase: H160,
    pub block_timestamp: U256,
    pub block_difficulty: U256,
    pub block_gas_limit: U256,
}

Vivinity value of a memory backend.

Fields

gas_price: U256

Gas price.

origin: H160

Origin.

chain_id: U256

Chain ID.

block_hashes: Vec<H256>

Environmental block hashes.

block_number: U256

Environmental block number.

block_coinbase: H160

Environmental coinbase.

block_timestamp: U256

Environmental block timestamp.

block_difficulty: U256

Environmental block difficulty.

block_gas_limit: U256

Environmental block gas limit.

Trait Implementations

impl Clone for MemoryVicinity[src]

impl Debug for MemoryVicinity[src]

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

impl Eq for MemoryVicinity[src]

impl PartialEq<MemoryVicinity> for MemoryVicinity[src]

impl Serialize for MemoryVicinity[src]

impl StructuralEq for MemoryVicinity[src]

impl StructuralPartialEq for MemoryVicinity[src]

Auto Trait Implementations

impl RefUnwindSafe for MemoryVicinity

impl Send for MemoryVicinity

impl Sync for MemoryVicinity

impl Unpin for MemoryVicinity

impl UnwindSafe for MemoryVicinity

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]