Struct bitcoincore_rpc_json::BlockInfo
source · 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
source§impl PartialEq for BlockInfo
impl PartialEq for BlockInfo
impl Eq for BlockInfo
impl StructuralEq for BlockInfo
impl StructuralPartialEq for BlockInfo
Auto Trait Implementations§
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