pub enum TransactionType {
Show 21 variants
WalletRegister,
Deposit,
Withdrawal,
Transfer,
ResetMainSecret,
CreateApiSecret,
DestroyApiSecret,
SubmitSpotOrder,
CancelSpotOrder,
AddAmmV2Liquidity,
RemoveAmmV2Liquidity,
RegisterAsset,
UpdateGlobalWithdrawalFeeTo,
UpdateAssetWithdrawalFeeTo,
UpdateChainConfirmationTimes,
RegisterMarket,
UpdateMarketTradingSettings,
UpdateMarketGlobalFeeTo,
UpdateMarketFeeTo,
UpdateMarketGlobalFee,
UpdateMarketFee,
}Expand description
Transaction type.
Variants§
WalletRegister
Wallet register.
Deposit
Deposit.
Withdrawal
Withdrawal.
Transfer
Transfer.
ResetMainSecret
Reset main secret.
CreateApiSecret
Create API secret.
DestroyApiSecret
Destroy API secret.
SubmitSpotOrder
Submit spot order.
CancelSpotOrder
Cancel spot order.
AddAmmV2Liquidity
Add spot liquidity.
RemoveAmmV2Liquidity
Remove spot liquidity.
RegisterAsset
Register asset
UpdateGlobalWithdrawalFeeTo
Update global withdrawal fee to
UpdateAssetWithdrawalFeeTo
Update asset withdrawal fee to
UpdateChainConfirmationTimes
Update chain confirmation times
RegisterMarket
Register market
UpdateMarketTradingSettings
Update market trading settings
UpdateMarketGlobalFeeTo
Update market global fee to
UpdateMarketFeeTo
Update market fee to
UpdateMarketGlobalFee
Update market global fee
UpdateMarketFee
Update market fee
Implementations§
source§impl TransactionType
impl TransactionType
pub fn iterator() -> impl Iterator<Item = TransactionType>
Trait Implementations§
source§impl Clone for TransactionType
impl Clone for TransactionType
source§fn clone(&self) -> TransactionType
fn clone(&self) -> TransactionType
Returns a copy 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 TransactionType
impl Debug for TransactionType
source§impl<'de> Deserialize<'de> for TransactionType
impl<'de> Deserialize<'de> for TransactionType
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<BigUint> for TransactionType
impl From<BigUint> for TransactionType
source§impl From<u128> for TransactionType
impl From<u128> for TransactionType
source§impl From<u32> for TransactionType
impl From<u32> for TransactionType
source§impl From<u64> for TransactionType
impl From<u64> for TransactionType
source§impl Hash for TransactionType
impl Hash for TransactionType
source§impl Into<BigUint> for TransactionType
impl Into<BigUint> for TransactionType
source§impl PartialEq<TransactionType> for TransactionType
impl PartialEq<TransactionType> for TransactionType
source§fn eq(&self, other: &TransactionType) -> bool
fn eq(&self, other: &TransactionType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TransactionType
impl Serialize for TransactionType
impl Copy for TransactionType
impl Eq for TransactionType
impl StructuralEq for TransactionType
impl StructuralPartialEq for TransactionType
Auto Trait Implementations§
impl RefUnwindSafe for TransactionType
impl Send for TransactionType
impl Sync for TransactionType
impl Unpin for TransactionType
impl UnwindSafe for TransactionType
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