pub struct CoinInfo {Show 14 fields
pub coin: String,
pub name: String,
pub free: Decimal,
pub locked: Decimal,
pub freeze: Decimal,
pub withdrawing: Decimal,
pub ipoing: Decimal,
pub ipoable: Decimal,
pub storage: Decimal,
pub deposit_all_enable: bool,
pub withdraw_all_enable: bool,
pub trading: bool,
pub is_legal_money: bool,
pub network_list: Vec<CoinNetwork>,
}Expand description
One entry of the /sapi/v1/capital/config/getall response — describes a
coin and the networks on which it can be deposited or withdrawn.
Fields§
§coin: String§name: String§free: Decimal§locked: Decimal§freeze: Decimal§withdrawing: Decimal§ipoing: Decimal§ipoable: Decimal§storage: Decimal§deposit_all_enable: bool§withdraw_all_enable: bool§trading: bool§is_legal_money: bool§network_list: Vec<CoinNetwork>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
impl StructuralPartialEq for CoinInfo
Auto Trait Implementations§
impl Freeze for CoinInfo
impl RefUnwindSafe for CoinInfo
impl Send for CoinInfo
impl Sync for CoinInfo
impl Unpin for CoinInfo
impl UnsafeUnpin 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