Struct digibyte_rpc_json::GetChainTipsResultTip[][src]

pub struct GetChainTipsResultTip {
    pub height: u64,
    pub hash: BlockHash,
    pub branch_length: usize,
    pub status: GetChainTipsResultStatus,
}

Models a single chain tip for the result of “getchaintips”

Fields

height: u64

Block height of the chain tip

hash: BlockHash

Header hash of the chain tip

branch_length: usize

Length of the branch (number of blocks since the last common block)

status: GetChainTipsResultStatus

Status of the tip as seen by Bitcoin Core

Trait Implementations

impl Clone for GetChainTipsResultTip[src]

impl Debug for GetChainTipsResultTip[src]

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

impl Eq for GetChainTipsResultTip[src]

impl PartialEq<GetChainTipsResultTip> for GetChainTipsResultTip[src]

impl Serialize for GetChainTipsResultTip[src]

impl StructuralEq for GetChainTipsResultTip[src]

impl StructuralPartialEq for GetChainTipsResultTip[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.