[][src]Struct komodo_rpc_client::BlockTemplate

pub struct BlockTemplate {
    pub capabilities: Vec<String>,
    pub version: u16,
    pub previousblockhash: String,
    pub finalsaplingroothash: String,
    pub transactions: Vec<IncludedTransaction>,
    pub coinbasetxn: CoinbaseTransaction,
    pub longpollid: String,
    pub target: String,
    pub mintime: u64,
    pub mutable: Vec<String>,
    pub noncerange: String,
    pub sigoplimit: u64,
    pub sizelimit: u64,
    pub curtime: u64,
    pub bits: String,
    pub height: u64,
}

Fields

capabilities: Vec<String>version: u16previousblockhash: Stringfinalsaplingroothash: Stringtransactions: Vec<IncludedTransaction>coinbasetxn: CoinbaseTransactionlongpollid: Stringtarget: Stringmintime: u64mutable: Vec<String>noncerange: Stringsigoplimit: u64sizelimit: u64curtime: u64bits: Stringheight: u64

Trait Implementations

impl Debug for BlockTemplate[src]

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

impl Serialize for BlockTemplate[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> Erased for T

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.