pub struct CoinInfo {Show 14 fields
pub coin: String,
pub deposit_all_enable: bool,
pub free: f64,
pub freeze: f64,
pub ipoable: f64,
pub ipoing: f64,
pub is_legal_money: bool,
pub locked: f64,
pub name: String,
pub network_list: Vec<CoinNetwork>,
pub storage: f64,
pub trading: bool,
pub withdraw_all_enable: bool,
pub withdrawing: f64,
}Expand description
Coin information from wallet config.
Fields§
§coin: StringCoin symbol (e.g., “BTC”).
deposit_all_enable: boolWhether deposit is available for all networks.
free: f64Free balance.
freeze: f64Freeze balance.
ipoable: f64IPO-able balance.
ipoing: f64IPOING balance.
is_legal_money: boolWhether legal money.
locked: f64Locked balance.
name: StringFull coin name.
network_list: Vec<CoinNetwork>Available networks for this coin.
storage: f64Storage balance.
trading: boolWhether trading is enabled.
withdraw_all_enable: boolWhether withdraw is available for all networks.
withdrawing: f64Withdrawing balance.
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