pub struct SpotAsset {
pub coin: String,
pub frozen: Decimal,
pub free: Decimal,
pub withdraw: Decimal,
}Expand description
Part of the response of /v5/asset/transfer/query-asset-info.
Fields§
§coin: StringCoin.
frozen: DecimalAmount locked in active orders
free: DecimalAvailable balance
withdraw: DecimalAmount currently being withdrawn
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpotAsset
impl<'de> Deserialize<'de> for SpotAsset
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 SpotAsset
Auto Trait Implementations§
impl Freeze for SpotAsset
impl RefUnwindSafe for SpotAsset
impl Send for SpotAsset
impl Sync for SpotAsset
impl Unpin for SpotAsset
impl UnsafeUnpin for SpotAsset
impl UnwindSafe for SpotAsset
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