pub enum AssetTransferType {
Show 28 variants
MainC2c,
MainUmfuture,
MainCmfuture,
MainMargin,
MainMining,
C2cMain,
C2cUmfuture,
C2cMining,
C2cMargin,
UmfutureMain,
UmfutureC2c,
UmfutureMargin,
CmfutureMain,
CmfutureMargin,
MarginMain,
MarginUmfuture,
MarginCmfuture,
MarginMining,
MarginC2c,
MiningMain,
MiningUmfuture,
MiningC2c,
MiningMargin,
MainPay,
PayMain,
IsolatedmarginMargin,
MarginIsolatedmargin,
IsolatedmarginIsolatedmargin,
}
Expand description
AssetTransferType
JSON schema
{
"examples": [
"MAIN_C2C"
],
"type": "string",
"enum": [
"MAIN_C2C",
"MAIN_UMFUTURE",
"MAIN_CMFUTURE",
"MAIN_MARGIN",
"MAIN_MINING",
"C2C_MAIN",
"C2C_UMFUTURE",
"C2C_MINING",
"C2C_MARGIN",
"UMFUTURE_MAIN",
"UMFUTURE_C2C",
"UMFUTURE_MARGIN",
"CMFUTURE_MAIN",
"CMFUTURE_MARGIN",
"MARGIN_MAIN",
"MARGIN_UMFUTURE",
"MARGIN_CMFUTURE",
"MARGIN_MINING",
"MARGIN_C2C",
"MINING_MAIN",
"MINING_UMFUTURE",
"MINING_C2C",
"MINING_MARGIN",
"MAIN_PAY",
"PAY_MAIN",
"ISOLATEDMARGIN_MARGIN",
"MARGIN_ISOLATEDMARGIN",
"ISOLATEDMARGIN_ISOLATEDMARGIN"
]
}
Variants§
MainC2c
MainUmfuture
MainCmfuture
MainMargin
MainMining
C2cMain
C2cUmfuture
C2cMining
C2cMargin
UmfutureMain
UmfutureC2c
UmfutureMargin
CmfutureMain
CmfutureMargin
MarginMain
MarginUmfuture
MarginCmfuture
MarginMining
MarginC2c
MiningMain
MiningUmfuture
MiningC2c
MiningMargin
MainPay
PayMain
IsolatedmarginMargin
MarginIsolatedmargin
IsolatedmarginIsolatedmargin
Trait Implementations§
Source§impl Clone for AssetTransferType
impl Clone for AssetTransferType
Source§fn clone(&self) -> AssetTransferType
fn clone(&self) -> AssetTransferType
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 AssetTransferType
impl Debug for AssetTransferType
Source§impl<'de> Deserialize<'de> for AssetTransferType
impl<'de> Deserialize<'de> for AssetTransferType
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<&AssetTransferType> for AssetTransferType
impl From<&AssetTransferType> for AssetTransferType
Source§fn from(value: &AssetTransferType) -> Self
fn from(value: &AssetTransferType) -> Self
Converts to this type from the input type.
Source§impl FromStr for AssetTransferType
impl FromStr for AssetTransferType
Source§impl Hash for AssetTransferType
impl Hash for AssetTransferType
Source§impl Ord for AssetTransferType
impl Ord for AssetTransferType
Source§fn cmp(&self, other: &AssetTransferType) -> Ordering
fn cmp(&self, other: &AssetTransferType) -> 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 AssetTransferType
impl PartialEq for AssetTransferType
Source§impl PartialOrd for AssetTransferType
impl PartialOrd for AssetTransferType
Source§impl Serialize for AssetTransferType
impl Serialize for AssetTransferType
Source§impl ToString for AssetTransferType
impl ToString for AssetTransferType
Source§impl TryFrom<&String> for AssetTransferType
impl TryFrom<&String> for AssetTransferType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for AssetTransferType
impl TryFrom<&str> for AssetTransferType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for AssetTransferType
impl TryFrom<String> for AssetTransferType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for AssetTransferType
impl Eq for AssetTransferType
impl StructuralPartialEq for AssetTransferType
Auto Trait Implementations§
impl Freeze for AssetTransferType
impl RefUnwindSafe for AssetTransferType
impl Send for AssetTransferType
impl Sync for AssetTransferType
impl Unpin for AssetTransferType
impl UnwindSafe for AssetTransferType
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.