pub struct QuerySubAccountFuturesAccountV1ResponseAssetsItem {
pub asset: String,
pub initial_margin: String,
pub maintenance_margin: String,
pub margin_balance: String,
pub max_withdraw_amount: String,
pub open_order_initial_margin: String,
pub position_initial_margin: String,
pub unrealized_profit: String,
pub wallet_balance: String,
}
Expand description
QuerySubAccountFuturesAccountV1ResponseAssetsItem
JSON schema
{
"type": "object",
"required": [
"asset",
"initialMargin",
"maintenanceMargin",
"marginBalance",
"maxWithdrawAmount",
"openOrderInitialMargin",
"positionInitialMargin",
"unrealizedProfit",
"walletBalance"
],
"properties": {
"asset": {
"examples": [
"USDT"
],
"type": "string"
},
"initialMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"maintenanceMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"marginBalance": {
"examples": [
"0.88308000"
],
"type": "string"
},
"maxWithdrawAmount": {
"examples": [
"0.88308000"
],
"type": "string"
},
"openOrderInitialMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"positionInitialMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"unrealizedProfit": {
"examples": [
"0.00000000"
],
"type": "string"
},
"walletBalance": {
"examples": [
"0.88308000"
],
"type": "string"
}
}
}
Fields§
§asset: String
§initial_margin: String
§maintenance_margin: String
§margin_balance: String
§max_withdraw_amount: String
§open_order_initial_margin: String
§position_initial_margin: String
§unrealized_profit: String
§wallet_balance: String
Trait Implementations§
Source§impl Clone for QuerySubAccountFuturesAccountV1ResponseAssetsItem
impl Clone for QuerySubAccountFuturesAccountV1ResponseAssetsItem
Source§fn clone(&self) -> QuerySubAccountFuturesAccountV1ResponseAssetsItem
fn clone(&self) -> QuerySubAccountFuturesAccountV1ResponseAssetsItem
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<'de> Deserialize<'de> for QuerySubAccountFuturesAccountV1ResponseAssetsItem
impl<'de> Deserialize<'de> for QuerySubAccountFuturesAccountV1ResponseAssetsItem
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
Source§impl From<&QuerySubAccountFuturesAccountV1ResponseAssetsItem> for QuerySubAccountFuturesAccountV1ResponseAssetsItem
impl From<&QuerySubAccountFuturesAccountV1ResponseAssetsItem> for QuerySubAccountFuturesAccountV1ResponseAssetsItem
Source§fn from(value: &QuerySubAccountFuturesAccountV1ResponseAssetsItem) -> Self
fn from(value: &QuerySubAccountFuturesAccountV1ResponseAssetsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QuerySubAccountFuturesAccountV1ResponseAssetsItem
impl RefUnwindSafe for QuerySubAccountFuturesAccountV1ResponseAssetsItem
impl Send for QuerySubAccountFuturesAccountV1ResponseAssetsItem
impl Sync for QuerySubAccountFuturesAccountV1ResponseAssetsItem
impl Unpin for QuerySubAccountFuturesAccountV1ResponseAssetsItem
impl UnwindSafe for QuerySubAccountFuturesAccountV1ResponseAssetsItem
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