pub struct TransferRecord {
pub asset: String,
pub amount: f64,
pub transfer_type: UniversalTransferType,
pub status: String,
pub tran_id: u64,
pub timestamp: u64,
}Expand description
Universal transfer record.
Fields§
§asset: StringAsset.
amount: f64Amount.
transfer_type: UniversalTransferTypeTransfer type.
status: StringStatus.
tran_id: u64Transaction ID.
timestamp: u64Timestamp.
Trait Implementations§
Source§impl Clone for TransferRecord
impl Clone for TransferRecord
Source§fn clone(&self) -> TransferRecord
fn clone(&self) -> TransferRecord
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 TransferRecord
impl Debug for TransferRecord
Source§impl<'de> Deserialize<'de> for TransferRecord
impl<'de> Deserialize<'de> for TransferRecord
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
Auto Trait Implementations§
impl Freeze for TransferRecord
impl RefUnwindSafe for TransferRecord
impl Send for TransferRecord
impl Sync for TransferRecord
impl Unpin for TransferRecord
impl UnwindSafe for TransferRecord
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