pub struct FiatWalletTransaction {
pub amount: Decimal,
pub datetime: DateTime<FixedOffset>,
pub fee: Decimal,
pub fiat_id: String,
pub id: String,
pub in_or_out: InOrOut,
pub status: TransactionStatus,
pub to_eur_rate: Decimal,
pub transaction_type: TransactionType,
pub user_id: String,
pub wallet_id: String,
}
Expand description
Defines a Bitpanda transaction for a cryptocurrencies wallet
Fields§
§amount: Decimal
§datetime: DateTime<FixedOffset>
§fee: Decimal
§fiat_id: String
§id: String
§in_or_out: InOrOut
§status: TransactionStatus
§to_eur_rate: Decimal
§transaction_type: TransactionType
§user_id: String
§wallet_id: String
Trait Implementations§
Source§impl Clone for FiatWalletTransaction
impl Clone for FiatWalletTransaction
Source§fn clone(&self) -> FiatWalletTransaction
fn clone(&self) -> FiatWalletTransaction
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FiatWalletTransaction
impl Debug for FiatWalletTransaction
Source§impl<'de> Deserialize<'de> for FiatWalletTransaction
impl<'de> Deserialize<'de> for FiatWalletTransaction
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 FiatWalletTransaction
impl Hash for FiatWalletTransaction
Source§impl PartialEq for FiatWalletTransaction
impl PartialEq for FiatWalletTransaction
impl Eq for FiatWalletTransaction
impl StructuralPartialEq for FiatWalletTransaction
Auto Trait Implementations§
impl Freeze for FiatWalletTransaction
impl RefUnwindSafe for FiatWalletTransaction
impl Send for FiatWalletTransaction
impl Sync for FiatWalletTransaction
impl Unpin for FiatWalletTransaction
impl UnwindSafe for FiatWalletTransaction
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.