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

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,
}

Fields

gas_price: U256origin: H160chain_id: U256block_hashes: Vec<H256>block_number: U256block_coinbase: H160block_timestamp: U256block_difficulty: U256block_gas_limit: U256

Trait Implementations

impl Clone for MemoryVicinity[src]

impl Eq for MemoryVicinity[src]

impl PartialEq<MemoryVicinity> for MemoryVicinity[src]

impl Debug for MemoryVicinity[src]

impl StructuralPartialEq for MemoryVicinity[src]

impl StructuralEq for MemoryVicinity[src]

Auto Trait Implementations

Blanket Implementations

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

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self