pub struct CoinInfo {Show 22 fields
pub id: String,
pub name: String,
pub collateral: bool,
pub usd_fungible: bool,
pub is_etf: bool,
pub is_token: bool,
pub hidden: bool,
pub can_deposit: bool,
pub can_withdraw: bool,
pub can_convert: bool,
pub has_tag: bool,
pub collateral_weight: Decimal,
pub fiat: bool,
pub methods: Vec<String>,
pub erc20_contract: Option<String>,
pub bep2_asset: Option<String>,
pub trc20_contract: Option<String>,
pub spl_mint: Option<String>,
pub credit_to: Option<String>,
pub spot_margin: bool,
pub nft_quote_currency_eligible: bool,
pub index_price: Decimal,
}
Fields§
§id: String
§name: String
§collateral: bool
§usd_fungible: bool
§is_etf: bool
§is_token: bool
§can_deposit: bool
§can_withdraw: bool
§can_convert: bool
§has_tag: bool
§collateral_weight: Decimal
§fiat: bool
§methods: Vec<String>
§erc20_contract: Option<String>
§bep2_asset: Option<String>
§trc20_contract: Option<String>
§spl_mint: Option<String>
§credit_to: Option<String>
§spot_margin: bool
§nft_quote_currency_eligible: bool
§index_price: Decimal
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CoinInfo
impl<'de> Deserialize<'de> for CoinInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CoinInfo
impl RefUnwindSafe for CoinInfo
impl Send for CoinInfo
impl Sync for CoinInfo
impl Unpin for CoinInfo
impl UnwindSafe for CoinInfo
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