pub struct SubAccountMarginAccountSummaryResponse {
pub sub_account_list: Vec<SubAccountMarginAccountSummaryResponseSubAccountListItem>,
pub total_asset_of_btc: String,
pub total_liability_of_btc: String,
pub total_net_asset_of_btc: String,
}
Expand description
SubAccountMarginAccountSummaryResponse
JSON schema
{
"type": "object",
"required": [
"subAccountList",
"totalAssetOfBtc",
"totalLiabilityOfBtc",
"totalNetAssetOfBtc"
],
"properties": {
"subAccountList": {
"type": "array",
"items": {
"type": "object",
"required": [
"email",
"totalAssetOfBtc",
"totalLiabilityOfBtc",
"totalNetAssetOfBtc"
],
"properties": {
"email": {
"examples": [
"123@test.com"
],
"type": "string"
},
"totalAssetOfBtc": {
"examples": [
"2.11111111"
],
"type": "string"
},
"totalLiabilityOfBtc": {
"examples": [
"1.11111111"
],
"type": "string"
},
"totalNetAssetOfBtc": {
"examples": [
"1.00000000"
],
"type": "string"
}
}
}
},
"totalAssetOfBtc": {
"examples": [
"4.33333333"
],
"type": "string"
},
"totalLiabilityOfBtc": {
"examples": [
"2.11111112"
],
"type": "string"
},
"totalNetAssetOfBtc": {
"examples": [
"2.22222221"
],
"type": "string"
}
}
}
Fields§
§sub_account_list: Vec<SubAccountMarginAccountSummaryResponseSubAccountListItem>
§total_asset_of_btc: String
§total_liability_of_btc: String
§total_net_asset_of_btc: String
Trait Implementations§
Source§impl Clone for SubAccountMarginAccountSummaryResponse
impl Clone for SubAccountMarginAccountSummaryResponse
Source§fn clone(&self) -> SubAccountMarginAccountSummaryResponse
fn clone(&self) -> SubAccountMarginAccountSummaryResponse
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 SubAccountMarginAccountSummaryResponse
impl<'de> Deserialize<'de> for SubAccountMarginAccountSummaryResponse
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<&SubAccountMarginAccountSummaryResponse> for SubAccountMarginAccountSummaryResponse
impl From<&SubAccountMarginAccountSummaryResponse> for SubAccountMarginAccountSummaryResponse
Source§fn from(value: &SubAccountMarginAccountSummaryResponse) -> Self
fn from(value: &SubAccountMarginAccountSummaryResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SubAccountMarginAccountSummaryResponse
impl RefUnwindSafe for SubAccountMarginAccountSummaryResponse
impl Send for SubAccountMarginAccountSummaryResponse
impl Sync for SubAccountMarginAccountSummaryResponse
impl Unpin for SubAccountMarginAccountSummaryResponse
impl UnwindSafe for SubAccountMarginAccountSummaryResponse
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