[−][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
Implementations
impl Header
[src]
pub fn partial_rlp_append(&self, s: &mut RlpStream)
[src]
pub fn partial_hash(&self) -> H256
[src]
Trait Implementations
impl Clone 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>
impl Eq for Header
[src]
impl HeaderHash<H256> for Header
[src]
fn parent_hash(&self) -> Option<H256>
[src]
fn header_hash(&self) -> H256
[src]
impl Into<Header> for TotalHeader
[src]
impl PartialEq<Header> for Header
[src]
impl RlpHash for Header
[src]
impl StructuralEq for Header
[src]
impl StructuralPartialEq for Header
[src]
Auto Trait Implementations
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,