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>,
pub stacks_block_hash: String,
}Fields§
§bitcoin_anchor_block_identifier: BlockIdentifier§pox_cycle_index: u32§pox_cycle_position: u32§pox_cycle_length: u32§confirm_microblock_identifier: Option<BlockIdentifier>§stacks_block_hash: StringTrait 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 ==.source§impl Serialize for StacksBlockMetadata
impl Serialize for StacksBlockMetadata
impl StructuralPartialEq for StacksBlockMetadata
Auto Trait Implementations§
impl RefUnwindSafe for StacksBlockMetadata
impl Send for StacksBlockMetadata
impl Sync for StacksBlockMetadata
impl Unpin for StacksBlockMetadata
impl UnwindSafe for StacksBlockMetadata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more