pub enum LedgerEntryType {
Trade,
Fee,
Transfer,
Deposit,
Withdrawal,
Settlement,
Cashback,
Rebate,
Referral,
Commission,
}Expand description
Ledger entry type (CCXT standardized types).
Represents the type of transaction recorded in the ledger.
Variants§
Trade
Trade execution.
Fee
Trading fee.
Transfer
Account transfer.
Deposit
Deposit.
Withdrawal
Withdrawal.
Settlement
Position settlement.
Cashback
Cashback reward.
Rebate
Trading rebate.
Referral
Referral reward.
Commission
Commission payment.
Trait Implementations§
Source§impl Clone for LedgerEntryType
impl Clone for LedgerEntryType
Source§fn clone(&self) -> LedgerEntryType
fn clone(&self) -> LedgerEntryType
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 LedgerEntryType
impl Debug for LedgerEntryType
Source§impl<'de> Deserialize<'de> for LedgerEntryType
impl<'de> Deserialize<'de> for LedgerEntryType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LedgerEntryType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LedgerEntryType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LedgerEntryType
impl PartialEq for LedgerEntryType
Source§impl Serialize for LedgerEntryType
impl Serialize for LedgerEntryType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LedgerEntryType
Auto Trait Implementations§
impl Freeze for LedgerEntryType
impl RefUnwindSafe for LedgerEntryType
impl Send for LedgerEntryType
impl Sync for LedgerEntryType
impl Unpin for LedgerEntryType
impl UnwindSafe for LedgerEntryType
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