# Struct ethcore_rpc::v1::types::Receipt [−] [src]

    pub struct Receipt {
        pub transaction_hash: Option<H256>,
        pub transaction_index: Option<U256>,
        pub block_hash: Option<H256>,
        pub block_number: Option<U256>,
        pub cumulative_gas_used: U256,
        pub gas_used: Option<U256>,
        pub contract_address: Option<H160>,
        pub logs: Vec<Log>,
        pub state_root: Option<H256>,
        pub logs_bloom: H2048,
    }

Receipt

## Fields

`transaction_hash: Option<H256>`

Transaction Hash

`transaction_index: Option<U256>`

Transaction index

`block_hash: Option<H256>`

Block hash

`block_number: Option<U256>`

Block number

`cumulative_gas_used: U256`

Cumulative gas used

`gas_used: Option<U256>`

Gas used

`contract_address: Option<H160>`

Contract address

`logs: Vec<Log>`

Logs

`state_root: Option<H256>`

State Root

`logs_bloom: H2048`

Logs bloom

## Trait Implementations

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

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

Formats the value using the given formatter.

### `impl From<LocalizedReceipt> for Receipt`
[src]

#### `fn from(r: LocalizedReceipt) -> Self`

Performs the conversion.

### `impl From<RichReceipt> for Receipt`
[src]

#### `fn from(r: RichReceipt) -> Self`

Performs the conversion.

### `impl From<EthReceipt> for Receipt`
[src]

#### `fn from(r: EthReceipt) -> 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`)