pub struct BlockInfo {
pub prevout_spent: Amount,
pub coinbase: Amount,
pub new_outputs_ex_coinbase: Amount,
pub unspendable: Amount,
pub unspendables: Unspendables,
}Expand description
Info on amounts in the block at the block height of the gettxoutsetinfo call (only available if coinstatsindex is used)
Fields§
§prevout_spent: AmountAmount of previous outputs spent
coinbase: AmountOutput size of the coinbase transaction
new_outputs_ex_coinbase: AmountNewly-created outputs
unspendable: AmountAmount of unspendable outputs
unspendables: UnspendablesDetailed view of the unspendable categories
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlockInfo
impl<'de> Deserialize<'de> for BlockInfo
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
impl Eq for BlockInfo
impl StructuralPartialEq for BlockInfo
Auto Trait Implementations§
impl Freeze for BlockInfo
impl RefUnwindSafe for BlockInfo
impl Send for BlockInfo
impl Sync for BlockInfo
impl Unpin for BlockInfo
impl UnwindSafe for BlockInfo
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