[−][src]Struct block::Header
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: H64
Methods
impl Header
[src]
pub fn partial_rlp_append(&self, s: &mut RlpStream)
[src]
pub fn partial_hash(&self) -> H256
[src]
Trait Implementations
impl RlpHash for Header
[src]
impl Eq for Header
[src]
impl Clone for Header
[src]
fn clone(&self) -> Header
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Into<Header> for TotalHeader
[src]
impl PartialEq<Header> for Header
[src]
impl Debug for Header
[src]
impl Decodable for Header
[src]
impl Encodable for Header
[src]
fn rlp_append(&self, s: &mut RlpStream)
[src]
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance
impl HeaderHash<H256> for Header
[src]
fn parent_hash(&self) -> Option<H256>
[src]
fn header_hash(&self) -> H256
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Same for T
type Output = T
Should always be Self