pub struct TokenInfo {
pub token_name: &'static str,
pub token_symbol: &'static str,
pub mint_address: &'static str,
pub icon: Option<&'static str>,
pub deprecated: bool,
}Expand description
The list of well-known tokens that are support on sollet.io The list is converted from https://github.com/project-serum/spl-token-wallet/blob/master/src/utils/tokens/names.js
Fields§
§token_name: &'static str§token_symbol: &'static str§mint_address: &'static str§icon: Option<&'static str>§deprecated: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for TokenInfo
impl RefUnwindSafe for TokenInfo
impl Send for TokenInfo
impl Sync for TokenInfo
impl Unpin for TokenInfo
impl UnwindSafe for TokenInfo
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