Struct ethcore::encoded::Body [] [src]

pub struct Body(_);

Owning block body view.

Methods

impl Body
[src]

Create a new owning block body view. The raw bytes passed in must be an rlp-encoded block body.

Get a borrowed view of the data within.

Fully decode this block body.

Get the RLP of this block body.

Consume the view and return the raw bytes.

impl Body
[src]

Get a vector of all transactions.

Number of transactions in the block.

A view over each transaction in the block.

The hash of each transaction in the block.

Decode uncle headers.

Number of uncles.

Borrowed view over each uncle.

Hash of each uncle.

Trait Implementations

impl Debug for Body
[src]

Formats the value using the given formatter.

impl Clone for Body
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Body
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Body
[src]