pub struct Header {Show 15 fields
pub parent_hash: H256,
pub ommers_hash: H256,
pub beneficiary: Address,
pub state_root: H256,
pub transactions_root: H256,
pub receipts_root: H256,
pub logs_bloom: LogsBloom,
pub difficulty: U256,
pub number: U256,
pub gas_limit: Gas,
pub gas_used: Gas,
pub timestamp: u64,
pub extra_data: B256,
pub mix_hash: H256,
pub nonce: H64,
}Fields§
§parent_hash: H256§ommers_hash: H256§beneficiary: Address§state_root: H256§transactions_root: H256§receipts_root: H256§logs_bloom: LogsBloom§difficulty: U256§number: U256§gas_limit: Gas§gas_used: Gas§timestamp: u64§extra_data: B256§mix_hash: H256§nonce: H64Implementations§
source§impl Header
impl Header
pub fn partial_rlp_append(&self, s: &mut RlpStream)
pub fn partial_hash(&self) -> H256
Trait Implementations§
source§impl Decodable for Header
impl Decodable for Header
source§fn decode(rlp: &UntrustedRlp<'_>) -> Result<Self, DecoderError>
fn decode(rlp: &UntrustedRlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes