pub struct WalletBalances { /* private fields */ }Implementations§
Source§impl WalletBalances
impl WalletBalances
pub fn chain<T>(self, value: T) -> Self
pub fn native_balance<T>(self, value: T) -> Self
pub fn native_balance_in_usd<T>(self, value: T) -> Self
pub fn tokens<T>(self, value: T) -> Self
pub fn total_value_in_usd<T>(self, value: T) -> Self
pub fn wallet_address<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for WalletBalances
impl Clone for WalletBalances
Source§fn clone(&self) -> WalletBalances
fn clone(&self) -> WalletBalances
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 WalletBalances
impl Debug for WalletBalances
Source§impl Default for WalletBalances
impl Default for WalletBalances
Source§impl From<WalletBalances> for WalletBalances
impl From<WalletBalances> for WalletBalances
Source§fn from(value: WalletBalances) -> Self
fn from(value: WalletBalances) -> Self
Converts to this type from the input type.
Source§impl TryFrom<WalletBalances> for WalletBalances
impl TryFrom<WalletBalances> for WalletBalances
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WalletBalances) -> Result<Self, ConversionError>
fn try_from(value: WalletBalances) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WalletBalances
impl RefUnwindSafe for WalletBalances
impl Send for WalletBalances
impl Sync for WalletBalances
impl Unpin for WalletBalances
impl UnsafeUnpin for WalletBalances
impl UnwindSafe for WalletBalances
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