pub struct GetTxOutSetInfoResult {
pub height: u64,
pub best_block: BlockHash,
pub transactions: Option<u64>,
pub tx_outs: u64,
pub bogosize: u64,
pub hash_serialized_2: Option<Hash>,
pub muhash: Option<Hash>,
pub disk_size: Option<u64>,
pub total_amount: Amount,
pub total_unspendable_amount: Option<Amount>,
pub block_info: Option<BlockInfo>,
}
Fields§
§height: u64
The block height (index) of the returned statistics
best_block: BlockHash
The hash of the block at which these statistics are calculated
transactions: Option<u64>
The number of transactions with unspent outputs (not available when coinstatsindex is used)
tx_outs: u64
The number of unspent transaction outputs
bogosize: u64
A meaningless metric for UTXO set size
hash_serialized_2: Option<Hash>
The serialized hash (only present if ‘hash_serialized_2’ hash_type is chosen)
muhash: Option<Hash>
The serialized hash (only present if ‘muhash’ hash_type is chosen)
disk_size: Option<u64>
The estimated size of the chainstate on disk (not available when coinstatsindex is used)
total_amount: Amount
The total amount
total_unspendable_amount: Option<Amount>
The total amount of coins permanently excluded from the UTXO set (only available if coinstatsindex is used)
block_info: Option<BlockInfo>
Info on amounts in the block at this block height (only available if coinstatsindex is used)
Trait Implementations§
source§impl Clone for GetTxOutSetInfoResult
impl Clone for GetTxOutSetInfoResult
source§fn clone(&self) -> GetTxOutSetInfoResult
fn clone(&self) -> GetTxOutSetInfoResult
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 GetTxOutSetInfoResult
impl Debug for GetTxOutSetInfoResult
source§impl<'de> Deserialize<'de> for GetTxOutSetInfoResult
impl<'de> Deserialize<'de> for GetTxOutSetInfoResult
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 GetTxOutSetInfoResult
impl PartialEq for GetTxOutSetInfoResult
source§fn eq(&self, other: &GetTxOutSetInfoResult) -> bool
fn eq(&self, other: &GetTxOutSetInfoResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetTxOutSetInfoResult
impl Serialize for GetTxOutSetInfoResult
impl Eq for GetTxOutSetInfoResult
impl StructuralPartialEq for GetTxOutSetInfoResult
Auto Trait Implementations§
impl Freeze for GetTxOutSetInfoResult
impl RefUnwindSafe for GetTxOutSetInfoResult
impl Send for GetTxOutSetInfoResult
impl Sync for GetTxOutSetInfoResult
impl Unpin for GetTxOutSetInfoResult
impl UnwindSafe for GetTxOutSetInfoResult
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