Struct core_rpc_json::GetChainTipsResultTip [−][src]
pub struct GetChainTipsResultTip { pub height: u64, pub hash: BlockHash, pub branch_length: usize, pub status: GetChainTipsResultStatus, }
Expand description
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetChainTipsResultTip
impl Send for GetChainTipsResultTip
impl Sync for GetChainTipsResultTip
impl Unpin for GetChainTipsResultTip
impl UnwindSafe for GetChainTipsResultTip
Blanket Implementations
Mutably borrows from an owned value. Read more