Struct floresta_watch_only::Stats
source · pub struct Stats {
pub address_count: usize,
pub transaction_count: usize,
pub utxo_count: usize,
pub cache_height: u32,
pub txo_count: usize,
pub balance: u64,
pub derivation_index: u32,
}
Expand description
Holds some useful data about our wallet, like how many addresses we have, how many transactions we have, etc.
Fields§
§address_count: usize
§transaction_count: usize
§utxo_count: usize
§cache_height: u32
§txo_count: usize
§balance: u64
§derivation_index: u32
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 RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin 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