Struct ckb_jsonrpc_types::UncleTemplate[][src]

pub struct UncleTemplate {
    pub hash: H256,
    pub required: bool,
    pub proposals: Vec<ProposalShortId>,
    pub header: Header,
}

The uncle block template of the new block for miners.

Fields

hash: H256

The uncle block hash.

required: bool

Whether miners must include this uncle in the submit block.

proposals: Vec<ProposalShortId>

The proposals of the uncle block.

Miners must keep this unchanged when including this uncle in the new block.

header: Header

The header of the uncle block.

Miners must keep this unchanged when including this uncle in the new block.

Trait Implementations

impl Clone for UncleTemplate[src]

impl Debug for UncleTemplate[src]

impl Default for UncleTemplate[src]

impl<'de> Deserialize<'de> for UncleTemplate[src]

impl Eq for UncleTemplate[src]

impl Hash for UncleTemplate[src]

impl PartialEq<UncleTemplate> for UncleTemplate[src]

impl Serialize for UncleTemplate[src]

impl StructuralEq for UncleTemplate[src]

impl StructuralPartialEq for UncleTemplate[src]

Auto Trait Implementations

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<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,