pub struct CryptoWalletTransaction {Show 14 fields
pub amount_eur: Decimal,
pub amount: Decimal,
pub confirmations: usize,
pub cryptocoin_id: String,
pub current_fiat_amount: Decimal,
pub current_fiat_id: String,
pub datetime: DateTime<FixedOffset>,
pub fee: Decimal,
pub id: String,
pub in_or_out: InOrOut,
pub recipient: String,
pub status: TransactionStatus,
pub transaction_type: TransactionType,
pub wallet_id: String,
}Expand description
Defines a Bitpanda transaction for a cryptocurrencies wallet
Fields§
§amount_eur: Decimal§amount: Decimal§confirmations: usize§cryptocoin_id: String§current_fiat_amount: Decimal§current_fiat_id: String§datetime: DateTime<FixedOffset>§fee: Decimal§id: String§in_or_out: InOrOut§recipient: String§status: TransactionStatus§transaction_type: TransactionType§wallet_id: StringTrait Implementations§
Source§impl Clone for CryptoWalletTransaction
impl Clone for CryptoWalletTransaction
Source§fn clone(&self) -> CryptoWalletTransaction
fn clone(&self) -> CryptoWalletTransaction
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 CryptoWalletTransaction
impl Debug for CryptoWalletTransaction
Source§impl<'de> Deserialize<'de> for CryptoWalletTransaction
impl<'de> Deserialize<'de> for CryptoWalletTransaction
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 CryptoWalletTransaction
impl Hash for CryptoWalletTransaction
Source§impl PartialEq for CryptoWalletTransaction
impl PartialEq for CryptoWalletTransaction
impl Eq for CryptoWalletTransaction
impl StructuralPartialEq for CryptoWalletTransaction
Auto Trait Implementations§
impl Freeze for CryptoWalletTransaction
impl RefUnwindSafe for CryptoWalletTransaction
impl Send for CryptoWalletTransaction
impl Sync for CryptoWalletTransaction
impl Unpin for CryptoWalletTransaction
impl UnwindSafe for CryptoWalletTransaction
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> 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.