Struct evm::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>>,
pub gas_used: U256,
}Information concerning the execution environment for a message-call/contract-creation.
Fields
number: u64
The block number.
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>>
The last 256 block hashes.
gas_used: U256
The gas used.
Trait Implementations
impl From<Env> for EnvInfo[src]
impl From<Env> for EnvInfoimpl Default for EnvInfo[src]
impl Default for EnvInfoimpl Clone for EnvInfo[src]
impl Clone for EnvInfofn clone(&self) -> EnvInfo[src]
fn clone(&self) -> EnvInfoReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for EnvInfo[src]
impl Debug for EnvInfo