# Struct ethcore::client::EnvInfo [−] [src]

    pub struct EnvInfo {
        pub number: BlockNumber,
        pub author: Address,
        pub timestamp: u64,
        pub difficulty: U256,
        pub gas_limit: U256,
        pub last_hashes: Arc<LastHashes>,
        pub gas_used: U256,
    }

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

## Fields

`number: BlockNumber`

The block number.

`author: Address`

The block author.

`timestamp: u64`

The block timestamp.

`difficulty: U256`

The block difficulty.

`gas_limit: U256`

The block gas limit.

`last_hashes: Arc<LastHashes>`

The last 256 block hashes.

`gas_used: U256`

The gas used.

## Trait Implementations

### `impl Debug for EnvInfo`
[src]

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`

Formats the value using the given formatter.

### `impl Default for EnvInfo`
[src]

#### `fn default() -> Self`

Returns the "default value" for a type. Read more

### `impl From<Env> for EnvInfo`
[src]

#### `fn from(e: Env) -> Self`

Performs the conversion.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)