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
sourceimpl Clone for GetChainTipsResultTip
impl Clone for GetChainTipsResultTip
sourcefn clone(&self) -> GetChainTipsResultTip
fn clone(&self) -> GetChainTipsResultTip
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetChainTipsResultTip
impl Debug for GetChainTipsResultTip
sourceimpl<'de> Deserialize<'de> for GetChainTipsResultTip
impl<'de> Deserialize<'de> for GetChainTipsResultTip
sourcefn 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
sourceimpl PartialEq<GetChainTipsResultTip> for GetChainTipsResultTip
impl PartialEq<GetChainTipsResultTip> for GetChainTipsResultTip
sourcefn 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 ==
. Read more
sourceimpl Serialize for GetChainTipsResultTip
impl Serialize for GetChainTipsResultTip
impl Eq for GetChainTipsResultTip
impl StructuralEq for GetChainTipsResultTip
impl StructuralPartialEq for GetChainTipsResultTip
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more