[][src]Struct spl_token_names::TokenInfo

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,
}

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 strtoken_symbol: &'static strmint_address: &'static stricon: Option<&'static str>deprecated: bool

Trait Implementations

impl Clone for TokenInfo[src]

impl Copy for TokenInfo[src]

impl Debug for TokenInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.