Struct ethcore::client::EnvInfo
[−]
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
impl From<Env> for EnvInfo
impl Clone for EnvInfo
impl Clone for EnvInfo
fn clone(&self) -> EnvInfo
fn clone(&self) -> EnvInfo
Returns 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
impl Debug for EnvInfo
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Default for EnvInfo
impl Default for EnvInfo