Struct chainhook_types::StacksBlockMetadata
source · pub struct StacksBlockMetadata {
pub bitcoin_anchor_block_identifier: BlockIdentifier,
pub pox_cycle_index: u32,
pub pox_cycle_position: u32,
pub pox_cycle_length: u32,
pub confirm_microblock_identifier: Option<BlockIdentifier>,
}Fields§
§bitcoin_anchor_block_identifier: BlockIdentifier§pox_cycle_index: u32§pox_cycle_position: u32§pox_cycle_length: u32§confirm_microblock_identifier: Option<BlockIdentifier>Trait Implementations§
source§impl Clone for StacksBlockMetadata
impl Clone for StacksBlockMetadata
source§fn clone(&self) -> StacksBlockMetadata
fn clone(&self) -> StacksBlockMetadata
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 StacksBlockMetadata
impl Debug for StacksBlockMetadata
source§impl<'de> Deserialize<'de> for StacksBlockMetadata
impl<'de> Deserialize<'de> for StacksBlockMetadata
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<StacksBlockMetadata> for StacksBlockMetadata
impl PartialEq<StacksBlockMetadata> for StacksBlockMetadata
source§fn eq(&self, other: &StacksBlockMetadata) -> bool
fn eq(&self, other: &StacksBlockMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.