pub enum QuerySubAccountFuturesAccountSummaryResponse {
UsdtFuturesSummary(SubAccountUsdtFuturesSummary),
CoinFuturesSummary(SubAccountCoinFuturesSummary),
}
Expand description
QuerySubAccountFuturesAccountSummaryResponse
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/subAccountUSDTFuturesSummary"
},
{
"$ref": "#/components/schemas/subAccountCOINFuturesSummary"
}
]
}
Variants§
UsdtFuturesSummary(SubAccountUsdtFuturesSummary)
CoinFuturesSummary(SubAccountCoinFuturesSummary)
Trait Implementations§
Source§impl Clone for QuerySubAccountFuturesAccountSummaryResponse
impl Clone for QuerySubAccountFuturesAccountSummaryResponse
Source§fn clone(&self) -> QuerySubAccountFuturesAccountSummaryResponse
fn clone(&self) -> QuerySubAccountFuturesAccountSummaryResponse
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 QuerySubAccountFuturesAccountSummaryResponse
impl<'de> Deserialize<'de> for QuerySubAccountFuturesAccountSummaryResponse
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<&QuerySubAccountFuturesAccountSummaryResponse> for QuerySubAccountFuturesAccountSummaryResponse
impl From<&QuerySubAccountFuturesAccountSummaryResponse> for QuerySubAccountFuturesAccountSummaryResponse
Source§fn from(value: &QuerySubAccountFuturesAccountSummaryResponse) -> Self
fn from(value: &QuerySubAccountFuturesAccountSummaryResponse) -> Self
Converts to this type from the input type.
Source§impl From<SubAccountCoinFuturesSummary> for QuerySubAccountFuturesAccountSummaryResponse
impl From<SubAccountCoinFuturesSummary> for QuerySubAccountFuturesAccountSummaryResponse
Source§fn from(value: SubAccountCoinFuturesSummary) -> Self
fn from(value: SubAccountCoinFuturesSummary) -> Self
Converts to this type from the input type.
Source§impl From<SubAccountUsdtFuturesSummary> for QuerySubAccountFuturesAccountSummaryResponse
impl From<SubAccountUsdtFuturesSummary> for QuerySubAccountFuturesAccountSummaryResponse
Source§fn from(value: SubAccountUsdtFuturesSummary) -> Self
fn from(value: SubAccountUsdtFuturesSummary) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QuerySubAccountFuturesAccountSummaryResponse
impl RefUnwindSafe for QuerySubAccountFuturesAccountSummaryResponse
impl Send for QuerySubAccountFuturesAccountSummaryResponse
impl Sync for QuerySubAccountFuturesAccountSummaryResponse
impl Unpin for QuerySubAccountFuturesAccountSummaryResponse
impl UnwindSafe for QuerySubAccountFuturesAccountSummaryResponse
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