pub struct ApiTransferDetails {
pub transaction_id: Option<String>,
pub block_id: Option<String>,
pub username: String,
pub address: String,
pub network: ApiNetwork,
pub amount: Decimal,
pub exchange_rate: Decimal,
}Expand description
The details of the transfer information for traceability
Fields§
§transaction_id: Option<String>The unique id assigned by the network/exchange for this transfer
block_id: Option<String>The block id assigned by the network/exchange for this transfer
username: StringThe username of the sender / receiver
address: StringThe address of the sender / receiver
network: ApiNetworkThe network used to transfer amount between the sender and the receiver
amount: DecimalThe amount to be transferred between the sender and the receiver
exchange_rate: DecimalThe exchange rate from EUR to the decided currency.
Trait Implementations§
Source§impl Clone for ApiTransferDetails
impl Clone for ApiTransferDetails
Source§fn clone(&self) -> ApiTransferDetails
fn clone(&self) -> ApiTransferDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ApiTransferDetails
impl Debug for ApiTransferDetails
Source§impl<'de> Deserialize<'de> for ApiTransferDetails
impl<'de> Deserialize<'de> for ApiTransferDetails
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 PartialEq for ApiTransferDetails
impl PartialEq for ApiTransferDetails
Source§fn eq(&self, other: &ApiTransferDetails) -> bool
fn eq(&self, other: &ApiTransferDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApiTransferDetails
impl Serialize for ApiTransferDetails
impl StructuralPartialEq for ApiTransferDetails
Auto Trait Implementations§
impl Freeze for ApiTransferDetails
impl RefUnwindSafe for ApiTransferDetails
impl Send for ApiTransferDetails
impl Sync for ApiTransferDetails
impl Unpin for ApiTransferDetails
impl UnsafeUnpin for ApiTransferDetails
impl UnwindSafe for ApiTransferDetails
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