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§
source§impl Clone for GetChainTipsResultTip
impl Clone for GetChainTipsResultTip
source§fn clone(&self) -> GetChainTipsResultTip
fn clone(&self) -> GetChainTipsResultTip
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetChainTipsResultTip
impl Debug for GetChainTipsResultTip
source§impl<'de> Deserialize<'de> for GetChainTipsResultTip
impl<'de> Deserialize<'de> for GetChainTipsResultTip
source§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
source§impl PartialEq<GetChainTipsResultTip> for GetChainTipsResultTip
impl PartialEq<GetChainTipsResultTip> for GetChainTipsResultTip
source§fn eq(&self, other: &GetChainTipsResultTip) -> bool
fn eq(&self, other: &GetChainTipsResultTip) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.