pub enum TransactionType {
Deposit,
Buy,
Transfer,
Sell,
Withdrawal,
}
Expand description
Defines the TransactionType
in the bitpanda trade
Variants§
Deposit
Currency deposited to bitpanda
Buy
The buy operation of an asset
Transfer
An asset transferred from Bitpanda to your wallet (e.g. BEST rewards, staking rewards, …)
Sell
A sell operation of an asset
Withdrawal
A withdrawal of a currency (NOTE: can be FIAT or Crypto). A bitpanda Card transaction is a Withdrawal too.
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 Hash for TransactionType
impl Hash for TransactionType
Source§impl PartialEq for TransactionType
impl PartialEq for TransactionType
impl Copy for TransactionType
impl Eq for TransactionType
impl StructuralPartialEq for TransactionType
Auto Trait Implementations§
impl Freeze for TransactionType
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