Struct chainhook_types::StacksMicroblockData
source · pub struct StacksMicroblockData {
pub block_identifier: BlockIdentifier,
pub parent_block_identifier: BlockIdentifier,
pub timestamp: i64,
pub transactions: Vec<StacksTransactionData>,
pub metadata: StacksMicroblockMetadata,
}Expand description
StacksMicroblock contain an array of Transactions that occurred at a particular BlockIdentifier.
Fields§
§block_identifier: BlockIdentifier§parent_block_identifier: BlockIdentifier§timestamp: i64The timestamp of the block in milliseconds since the Unix Epoch. The timestamp is stored in milliseconds because some blockchains produce blocks more often than once a second.
transactions: Vec<StacksTransactionData>§metadata: StacksMicroblockMetadataTrait Implementations§
source§impl Clone for StacksMicroblockData
impl Clone for StacksMicroblockData
source§fn clone(&self) -> StacksMicroblockData
fn clone(&self) -> StacksMicroblockData
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 StacksMicroblockData
impl Debug for StacksMicroblockData
source§impl<'de> Deserialize<'de> for StacksMicroblockData
impl<'de> Deserialize<'de> for StacksMicroblockData
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<StacksMicroblockData> for StacksMicroblockData
impl PartialEq<StacksMicroblockData> for StacksMicroblockData
source§fn eq(&self, other: &StacksMicroblockData) -> bool
fn eq(&self, other: &StacksMicroblockData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.