pub struct PartialFuelBlockHeader {
    pub application: FuelApplicationHeader<Empty>,
    pub consensus: FuelConsensusHeader<Empty>,
    pub metadata: Option<HeaderMetadata>,
}
Expand description

A partially complete fuel block header that doesn’t not have any generated fields because it has not been executed yet.

Fields§

§application: FuelApplicationHeader<Empty>

The application header.

§consensus: FuelConsensusHeader<Empty>

The consensus header.

§metadata: Option<HeaderMetadata>

Header Metadata

Implementations§

Merkle root of all previous block header hashes.

Fuel block height.

The block producer time.

The type of consensus this header is using.

Generate all fields to create a full FuelBlockHeader after running the transactions.

The order of the transactions must be the same order they were executed in. The order of the messages must be the same as they were produced in.

Message ids are produced by executed the transactions and collecting the ids from the receipts of messages outputs.

The transactions are the bytes of the executed [Transaction]s.

Trait Implementations§

Converts this type into a shared reference of the (usually inferred) input type.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Dereferences the value.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more