pub struct AddressBookSummary {
pub address_count: usize,
pub balances_by_chain: HashMap<String, ChainBalance>,
pub total_usd: Option<f64>,
pub addresses: Vec<AddressSummary>,
}Expand description
AddressBook summary report.
Fields§
§address_count: usizeTotal number of addresses.
balances_by_chain: HashMap<String, ChainBalance>Balances by chain.
total_usd: Option<f64>Total address book value in USD (if available).
addresses: Vec<AddressSummary>Individual address summaries.
Trait Implementations§
Source§impl Clone for AddressBookSummary
impl Clone for AddressBookSummary
Source§impl Debug for AddressBookSummary
impl Debug for AddressBookSummary
Source§impl<'de> Deserialize<'de> for AddressBookSummary
impl<'de> Deserialize<'de> for AddressBookSummary
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 Forget for AddressBookSummary
impl Freeze for AddressBookSummary
impl RefUnwindSafe for AddressBookSummary
impl Send for AddressBookSummary
impl Sync for AddressBookSummary
impl Unpin for AddressBookSummary
impl UnsafeUnpin for AddressBookSummary
impl UnwindSafe for AddressBookSummary
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