Struct ethereum::PartialHeader
source · pub struct PartialHeader {}Expand description
Partial header definition without ommers hash and transactions root.
Fields
parent_hash: H256beneficiary: H160state_root: H256receipts_root: H256logs_bloom: Bloomdifficulty: U256number: U256gas_limit: U256gas_used: U256timestamp: u64extra_data: Vec<u8>mix_hash: H256nonce: H64Trait Implementations
sourceimpl Clone for PartialHeader
impl Clone for PartialHeader
sourcefn clone(&self) -> PartialHeader
fn clone(&self) -> PartialHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PartialHeader
impl Debug for PartialHeader
sourceimpl From<Header> for PartialHeader
impl From<Header> for PartialHeader
sourcefn from(header: Header) -> PartialHeader
fn from(header: Header) -> PartialHeader
Converts to this type from the input type.
sourceimpl PartialEq<PartialHeader> for PartialHeader
impl PartialEq<PartialHeader> for PartialHeader
sourcefn eq(&self, other: &PartialHeader) -> bool
fn eq(&self, other: &PartialHeader) -> bool
impl Eq for PartialHeader
impl StructuralEq for PartialHeader
impl StructuralPartialEq for PartialHeader
Auto Trait Implementations
impl RefUnwindSafe for PartialHeader
impl Send for PartialHeader
impl Sync for PartialHeader
impl Unpin for PartialHeader
impl UnwindSafe for PartialHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more