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: Amount
Amount of previous outputs spent
coinbase: Amount
Output size of the coinbase transaction
new_outputs_ex_coinbase: Amount
Newly-created outputs
unspendable: Amount
Amount of unspendable outputs
unspendables: Unspendables
Detailed view of the unspendable categories
Trait Implementations
sourceimpl<'de> Deserialize<'de> for BlockInfo
impl<'de> Deserialize<'de> for BlockInfo
sourcefn 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
sourceimpl PartialEq<BlockInfo> for BlockInfo
impl PartialEq<BlockInfo> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more