pub struct StacksBlockCommitmentData {
pub block_hash: String,
pub pox_cycle_index: u64,
pub pox_cycle_length: u64,
pub pox_cycle_position: u64,
pub pox_sats_burnt: u64,
pub pox_sats_transferred: Vec<PoxReward>,
pub mining_address_post_commit: Option<String>,
pub mining_sats_left: u64,
}Fields§
§block_hash: String§pox_cycle_index: u64§pox_cycle_length: u64§pox_cycle_position: u64§pox_sats_burnt: u64§pox_sats_transferred: Vec<PoxReward>§mining_address_post_commit: Option<String>§mining_sats_left: u64Trait Implementations§
source§impl Clone for StacksBlockCommitmentData
impl Clone for StacksBlockCommitmentData
source§fn clone(&self) -> StacksBlockCommitmentData
fn clone(&self) -> StacksBlockCommitmentData
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 StacksBlockCommitmentData
impl Debug for StacksBlockCommitmentData
source§impl<'de> Deserialize<'de> for StacksBlockCommitmentData
impl<'de> Deserialize<'de> for StacksBlockCommitmentData
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 for StacksBlockCommitmentData
impl PartialEq for StacksBlockCommitmentData
source§fn eq(&self, other: &StacksBlockCommitmentData) -> bool
fn eq(&self, other: &StacksBlockCommitmentData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StacksBlockCommitmentData
Auto Trait Implementations§
impl Freeze for StacksBlockCommitmentData
impl RefUnwindSafe for StacksBlockCommitmentData
impl Send for StacksBlockCommitmentData
impl Sync for StacksBlockCommitmentData
impl Unpin for StacksBlockCommitmentData
impl UnwindSafe for StacksBlockCommitmentData
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