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