pub enum LedgerType {
Show 13 variants
Trade,
Deposit,
Withdrawal,
Transfer,
Margin,
Adjustment,
Rollover,
Credit,
Settled,
Staking,
Dividend,
Sale,
Nft,
}Expand description
Ledger entry type.
Variants§
Trade
Trade execution
Deposit
Deposit
Withdrawal
Withdrawal
Transfer
Transfer between accounts
Margin
Margin trade
Adjustment
Adjustment
Rollover
Rollover
Credit
Credit
Settled
Settled
Staking
Staking
Dividend
Dividend
Sale
Sale
Nft
NFT-related
Trait Implementations§
Source§impl Clone for LedgerType
impl Clone for LedgerType
Source§fn clone(&self) -> LedgerType
fn clone(&self) -> LedgerType
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 LedgerType
impl Debug for LedgerType
Source§impl<'de> Deserialize<'de> for LedgerType
impl<'de> Deserialize<'de> for LedgerType
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 Hash for LedgerType
impl Hash for LedgerType
Source§impl PartialEq for LedgerType
impl PartialEq for LedgerType
Source§impl Serialize for LedgerType
impl Serialize for LedgerType
impl Copy for LedgerType
impl Eq for LedgerType
impl StructuralPartialEq for LedgerType
Auto Trait Implementations§
impl Freeze for LedgerType
impl RefUnwindSafe for LedgerType
impl Send for LedgerType
impl Sync for LedgerType
impl Unpin for LedgerType
impl UnwindSafe for LedgerType
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