[][src]Struct komodo_rpc_client::Block

pub struct Block {
    pub hash: BlockHash,
    pub confirmations: u32,
    pub rawconfirmations: u32,
    pub size: u32,
    pub height: u32,
    pub version: u32,
    pub merkleroot: String,
    pub segid: i32,
    pub tx: Vec<TransactionId>,
    pub time: u64,
    pub nonce: String,
    pub solution: String,
    pub bits: String,
    pub difficulty: u64,
    pub chainwork: String,
    pub anchor: String,
    pub value_pools: Vec<ValuePool>,
    pub previousblockhash: Option<BlockHash>,
    pub nextblockhash: Option<BlockHash>,
}

Fields

hash: BlockHashconfirmations: u32rawconfirmations: u32size: u32height: u32version: u32merkleroot: Stringsegid: i32tx: Vec<TransactionId>time: u64nonce: Stringsolution: Stringbits: Stringdifficulty: u64chainwork: Stringanchor: Stringvalue_pools: Vec<ValuePool>previousblockhash: Option<BlockHash>nextblockhash: Option<BlockHash>

Trait Implementations

impl Debug for Block[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Block

impl Send for Block

impl Sync for Block

impl Unpin for Block

impl UnwindSafe for Block

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.