Struct vvm::EnvInfo[][src]

pub struct EnvInfo {
    pub number: u64,
    pub author: H160,
    pub timestamp: u64,
    pub difficulty: U256,
    pub gas_limit: U256,
    pub last_hashes: Arc<Vec<H256, Global>>,
    pub gas_used: U256,
}

Information concerning the execution environment for a message-call/contract-creation.

Fields

number: u64

The block number.

author: H160

The block author.

timestamp: u64

The block timestamp.

difficulty: U256

The block difficulty.

gas_limit: U256

The block gas limit.

last_hashes: Arc<Vec<H256, Global>>

The last 256 block hashes.

gas_used: U256

The gas used.

Trait Implementations

impl Clone for EnvInfo[src]

impl Debug for EnvInfo[src]

impl Default for EnvInfo[src]

impl From<Env> for EnvInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for EnvInfo

impl Send for EnvInfo

impl Sync for EnvInfo

impl Unpin for EnvInfo

impl UnwindSafe for EnvInfo

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