pub struct IsolatedMarginAccountAsset {
pub base_asset: IsolatedAssetDetails,
pub quote_asset: IsolatedAssetDetails,
pub symbol: String,
pub isolated_created: bool,
pub enabled: bool,
pub margin_level: f64,
pub margin_ratio: f64,
pub index_price: f64,
pub liquidate_price: f64,
pub liquidate_rate: f64,
pub trade_enabled: bool,
}Expand description
Isolated margin account asset.
Fields§
§base_asset: IsolatedAssetDetailsBase asset.
quote_asset: IsolatedAssetDetailsQuote asset.
symbol: StringSymbol.
isolated_created: boolWhether isolated trading is created.
enabled: boolWhether margin trading is enabled.
margin_level: f64Margin level.
margin_ratio: f64Margin ratio.
index_price: f64Index price.
liquidate_price: f64Liquidate price.
liquidate_rate: f64Liquidate rate.
trade_enabled: boolWhether trading is enabled.
Trait Implementations§
Source§impl Clone for IsolatedMarginAccountAsset
impl Clone for IsolatedMarginAccountAsset
Source§fn clone(&self) -> IsolatedMarginAccountAsset
fn clone(&self) -> IsolatedMarginAccountAsset
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IsolatedMarginAccountAsset
impl Debug for IsolatedMarginAccountAsset
Source§impl<'de> Deserialize<'de> for IsolatedMarginAccountAsset
impl<'de> Deserialize<'de> for IsolatedMarginAccountAsset
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 IsolatedMarginAccountAsset
impl RefUnwindSafe for IsolatedMarginAccountAsset
impl Send for IsolatedMarginAccountAsset
impl Sync for IsolatedMarginAccountAsset
impl Unpin for IsolatedMarginAccountAsset
impl UnwindSafe for IsolatedMarginAccountAsset
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