pub struct Stats {
pub tx_count: u64,
pub funded_txo_count: u64,
pub funded_txo_sum: Option<u64>,
pub spent_txo_count: u64,
pub spent_txo_sum: Option<u64>,
}Expand description
Represents statistics for an address.
Fields§
§tx_count: u64The total number of transactions for the address.
funded_txo_count: u64The number of funded transaction outputs.
funded_txo_sum: Option<u64>The sum of all funded transaction outputs.
spent_txo_count: u64The number of spent transaction outputs.
spent_txo_sum: Option<u64>The sum of all spent transaction outputs.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stats
impl<'de> Deserialize<'de> for Stats
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
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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