pub struct Mint {
pub address: Address,
pub symbol: &'static str,
pub decimals: u32,
}Expand description
A mint: its address, display symbol, and token decimals.
Fields§
§address: Address§symbol: &'static strDisplay symbol, e.g. USDC.
decimals: u32Decimal places: one whole token is 10^decimals raw base units.
Trait Implementations§
impl Copy for Mint
impl Eq for Mint
impl StructuralPartialEq for Mint
Auto Trait Implementations§
impl Forget for Mint
impl Freeze for Mint
impl Move for Mint
impl RefUnwindSafe for Mint
impl Send for Mint
impl Sync for Mint
impl Unpin for Mint
impl UnsafeUnpin for Mint
impl UnwindSafe for Mint
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