pub struct IcrcBalanceData {
pub token_symbol: String,
pub decimals: u8,
pub balance: String,
}Expand description
IcrcBalanceData
Raw balance result shared by sources and reports plus enough token metadata for display.
Fields§
§token_symbol: StringLedger token symbol.
decimals: u8Ledger token decimal places.
balance: StringBalance in raw decimal base units.
Trait Implementations§
Source§impl Clone for IcrcBalanceData
impl Clone for IcrcBalanceData
Source§impl Debug for IcrcBalanceData
impl Debug for IcrcBalanceData
impl Eq for IcrcBalanceData
Source§impl PartialEq for IcrcBalanceData
impl PartialEq for IcrcBalanceData
Source§impl Serialize for IcrcBalanceData
impl Serialize for IcrcBalanceData
impl StructuralPartialEq for IcrcBalanceData
Auto Trait Implementations§
impl Freeze for IcrcBalanceData
impl RefUnwindSafe for IcrcBalanceData
impl Send for IcrcBalanceData
impl Sync for IcrcBalanceData
impl Unpin for IcrcBalanceData
impl UnsafeUnpin for IcrcBalanceData
impl UnwindSafe for IcrcBalanceData
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