[][src]Struct web3::types::Work

pub struct Work {
    pub pow_hash: H256,
    pub seed_hash: H256,
    pub target: H256,
    pub number: Option<u64>,
}

Miner's work package

Fields

pow_hash: H256

The proof-of-work hash.

seed_hash: H256

The seed hash.

target: H256

The target.

number: Option<u64>

The block number: this isn't always stored.

Trait Implementations

impl Debug for Work[src]

impl<'a> Deserialize<'a> for Work[src]

impl Eq for Work[src]

impl PartialEq<Work> for Work[src]

impl Serialize for Work[src]

impl StructuralEq for Work[src]

impl StructuralPartialEq for Work[src]

Auto Trait Implementations

impl RefUnwindSafe for Work

impl Send for Work

impl Sync for Work

impl Unpin for Work

impl UnwindSafe for Work

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,