[][src]Struct ckb_types::packed::RawHeaderBuilder

pub struct RawHeaderBuilder { /* fields omitted */ }

Implementations

impl RawHeaderBuilder[src]

pub const TOTAL_SIZE: usize[src]

pub const FIELD_SIZES: [usize; 10][src]

pub const FIELD_COUNT: usize[src]

pub fn version(self, v: Uint32) -> Self[src]

pub fn compact_target(self, v: Uint32) -> Self[src]

pub fn timestamp(self, v: Uint64) -> Self[src]

pub fn number(self, v: Uint64) -> Self[src]

pub fn epoch(self, v: Uint64) -> Self[src]

pub fn parent_hash(self, v: Byte32) -> Self[src]

pub fn transactions_root(self, v: Byte32) -> Self[src]

pub fn proposals_hash(self, v: Byte32) -> Self[src]

pub fn uncles_hash(self, v: Byte32) -> Self[src]

pub fn dao(self, v: Byte32) -> Self[src]

Trait Implementations

impl Builder for RawHeaderBuilder[src]

type Entity = RawHeader

impl Debug for RawHeaderBuilder[src]

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

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

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.