pub enum MarginCapitalFlowType {
Show 16 variants
Transfer,
Borrow,
Repay,
BuyIncome,
BuyExpense,
SellIncome,
SellExpense,
TradingCommission,
BuyLiquidation,
SellLiquidation,
RepayLiquidation,
OtherLiquidation,
LiquidationFee,
SmallBalanceConvert,
CommissionReturn,
SmallConvert,
}
Expand description
MarginCapitalFlowType
JSON schema
{
"type": "string",
"enum": [
"TRANSFER",
"BORROW",
"REPAY",
"BUY_INCOME",
"BUY_EXPENSE",
"SELL_INCOME",
"SELL_EXPENSE",
"TRADING_COMMISSION",
"BUY_LIQUIDATION",
"SELL_LIQUIDATION",
"REPAY_LIQUIDATION",
"OTHER_LIQUIDATION",
"LIQUIDATION_FEE",
"SMALL_BALANCE_CONVERT",
"COMMISSION_RETURN",
"SMALL_CONVERT"
]
}
Variants§
Transfer
Borrow
Repay
BuyIncome
BuyExpense
SellIncome
SellExpense
TradingCommission
BuyLiquidation
SellLiquidation
RepayLiquidation
OtherLiquidation
LiquidationFee
SmallBalanceConvert
CommissionReturn
SmallConvert
Trait Implementations§
Source§impl Clone for MarginCapitalFlowType
impl Clone for MarginCapitalFlowType
Source§fn clone(&self) -> MarginCapitalFlowType
fn clone(&self) -> MarginCapitalFlowType
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 Debug for MarginCapitalFlowType
impl Debug for MarginCapitalFlowType
Source§impl<'de> Deserialize<'de> for MarginCapitalFlowType
impl<'de> Deserialize<'de> for MarginCapitalFlowType
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<&MarginCapitalFlowType> for MarginCapitalFlowType
impl From<&MarginCapitalFlowType> for MarginCapitalFlowType
Source§fn from(value: &MarginCapitalFlowType) -> Self
fn from(value: &MarginCapitalFlowType) -> Self
Converts to this type from the input type.
Source§impl FromStr for MarginCapitalFlowType
impl FromStr for MarginCapitalFlowType
Source§impl Hash for MarginCapitalFlowType
impl Hash for MarginCapitalFlowType
Source§impl Ord for MarginCapitalFlowType
impl Ord for MarginCapitalFlowType
Source§fn cmp(&self, other: &MarginCapitalFlowType) -> Ordering
fn cmp(&self, other: &MarginCapitalFlowType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MarginCapitalFlowType
impl PartialEq for MarginCapitalFlowType
Source§impl PartialOrd for MarginCapitalFlowType
impl PartialOrd for MarginCapitalFlowType
Source§impl Serialize for MarginCapitalFlowType
impl Serialize for MarginCapitalFlowType
Source§impl ToString for MarginCapitalFlowType
impl ToString for MarginCapitalFlowType
Source§impl TryFrom<&String> for MarginCapitalFlowType
impl TryFrom<&String> for MarginCapitalFlowType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for MarginCapitalFlowType
impl TryFrom<&str> for MarginCapitalFlowType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for MarginCapitalFlowType
impl TryFrom<String> for MarginCapitalFlowType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for MarginCapitalFlowType
impl Eq for MarginCapitalFlowType
impl StructuralPartialEq for MarginCapitalFlowType
Auto Trait Implementations§
impl Freeze for MarginCapitalFlowType
impl RefUnwindSafe for MarginCapitalFlowType
impl Send for MarginCapitalFlowType
impl Sync for MarginCapitalFlowType
impl Unpin for MarginCapitalFlowType
impl UnwindSafe for MarginCapitalFlowType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.