pub struct ChainStats {
pub funded_txo_count: u64,
pub funded_txo_sum: u64,
pub spent_txo_count: u64,
pub spent_txo_sum: u64,
pub tx_count: u64,
}Expand description
On-chain statistics for an address.
Fields§
§funded_txo_count: u64Number of funded transaction outputs
funded_txo_sum: u64Total value of funded outputs (satoshis)
spent_txo_count: u64Number of spent transaction outputs
spent_txo_sum: u64Total value of spent outputs (satoshis)
tx_count: u64Total transaction count
Trait Implementations§
Source§impl Clone for ChainStats
impl Clone for ChainStats
Source§fn clone(&self) -> ChainStats
fn clone(&self) -> ChainStats
Returns a duplicate 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 ChainStats
impl Debug for ChainStats
Source§impl<'de> Deserialize<'de> for ChainStats
impl<'de> Deserialize<'de> for ChainStats
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 ChainStats
impl PartialEq for ChainStats
Source§impl Serialize for ChainStats
impl Serialize for ChainStats
impl Eq for ChainStats
impl StructuralPartialEq for ChainStats
Auto Trait Implementations§
impl Freeze for ChainStats
impl RefUnwindSafe for ChainStats
impl Send for ChainStats
impl Sync for ChainStats
impl Unpin for ChainStats
impl UnwindSafe for ChainStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.