pub struct SubAccountFuturesAccountSummaryResponse {
pub asset: String,
pub sub_account_list: Vec<SubAccountFuturesAccountSummaryResponseSubAccountListItem>,
pub total_initial_margin: String,
pub total_maintenance_margin: String,
pub total_margin_balance: String,
pub total_open_order_initial_margin: String,
pub total_position_initial_margin: String,
pub total_unrealized_profit: String,
pub total_wallet_balance: String,
}
Expand description
SubAccountFuturesAccountSummaryResponse
JSON schema
{
"type": "object",
"required": [
"asset",
"subAccountList",
"totalInitialMargin",
"totalMaintenanceMargin",
"totalMarginBalance",
"totalOpenOrderInitialMargin",
"totalPositionInitialMargin",
"totalUnrealizedProfit",
"totalWalletBalance"
],
"properties": {
"asset": {
"examples": [
"USD"
],
"type": "string"
},
"subAccountList": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"email",
"totalInitialMargin",
"totalMaintenanceMargin",
"totalMarginBalance",
"totalOpenOrderInitialMargin",
"totalPositionInitialMargin",
"totalUnrealizedProfit",
"totalWalletBalance"
],
"properties": {
"asset": {
"examples": [
"USD"
],
"type": "string"
},
"email": {
"examples": [
"123@test.com"
],
"type": "string"
},
"totalInitialMargin": {
"examples": [
"9.00000000"
],
"type": "string"
},
"totalMaintenanceMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"totalMarginBalance": {
"examples": [
"22.12659734"
],
"type": "string"
},
"totalOpenOrderInitialMargin": {
"examples": [
"9.00000000"
],
"type": "string"
},
"totalPositionInitialMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"totalUnrealizedProfit": {
"examples": [
"0.00000000"
],
"type": "string"
},
"totalWalletBalance": {
"examples": [
"22.12659734"
],
"type": "string"
}
}
}
},
"totalInitialMargin": {
"examples": [
"9.83137400"
],
"type": "string"
},
"totalMaintenanceMargin": {
"examples": [
"0.41568700"
],
"type": "string"
},
"totalMarginBalance": {
"examples": [
"23.03235621"
],
"type": "string"
},
"totalOpenOrderInitialMargin": {
"examples": [
"9.00000000"
],
"type": "string"
},
"totalPositionInitialMargin": {
"examples": [
"0.83137400"
],
"type": "string"
},
"totalUnrealizedProfit": {
"examples": [
"0.03219710"
],
"type": "string"
},
"totalWalletBalance": {
"examples": [
"22.15879444"
],
"type": "string"
}
}
}
Fields§
§asset: String
§sub_account_list: Vec<SubAccountFuturesAccountSummaryResponseSubAccountListItem>
§total_initial_margin: String
§total_maintenance_margin: String
§total_margin_balance: String
§total_open_order_initial_margin: String
§total_position_initial_margin: String
§total_unrealized_profit: String
§total_wallet_balance: String
Trait Implementations§
Source§impl Clone for SubAccountFuturesAccountSummaryResponse
impl Clone for SubAccountFuturesAccountSummaryResponse
Source§fn clone(&self) -> SubAccountFuturesAccountSummaryResponse
fn clone(&self) -> SubAccountFuturesAccountSummaryResponse
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 SubAccountFuturesAccountSummaryResponse
impl<'de> Deserialize<'de> for SubAccountFuturesAccountSummaryResponse
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<&SubAccountFuturesAccountSummaryResponse> for SubAccountFuturesAccountSummaryResponse
impl From<&SubAccountFuturesAccountSummaryResponse> for SubAccountFuturesAccountSummaryResponse
Source§fn from(value: &SubAccountFuturesAccountSummaryResponse) -> Self
fn from(value: &SubAccountFuturesAccountSummaryResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SubAccountFuturesAccountSummaryResponse
impl RefUnwindSafe for SubAccountFuturesAccountSummaryResponse
impl Send for SubAccountFuturesAccountSummaryResponse
impl Sync for SubAccountFuturesAccountSummaryResponse
impl Unpin for SubAccountFuturesAccountSummaryResponse
impl UnwindSafe for SubAccountFuturesAccountSummaryResponse
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