pub struct CryptoTransfer {
pub id: String,
pub wallet_id: String,
pub account_id: String,
pub asset: String,
pub amount: String,
pub direction: CryptoTransferDirection,
pub status: CryptoTransferStatus,
pub fee: Option<String>,
pub tx_hash: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: Option<DateTime<Utc>>,
}Expand description
Crypto transfer.
Fields§
§id: StringTransfer ID.
wallet_id: StringWallet ID.
account_id: StringAccount ID.
asset: StringAsset symbol.
amount: StringAmount.
direction: CryptoTransferDirectionDirection.
status: CryptoTransferStatusStatus.
fee: Option<String>Fee.
tx_hash: Option<String>Transaction hash.
created_at: DateTime<Utc>Created at timestamp.
updated_at: Option<DateTime<Utc>>Updated at timestamp.
Trait Implementations§
Source§impl Clone for CryptoTransfer
impl Clone for CryptoTransfer
Source§fn clone(&self) -> CryptoTransfer
fn clone(&self) -> CryptoTransfer
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 CryptoTransfer
impl Debug for CryptoTransfer
Source§impl<'de> Deserialize<'de> for CryptoTransfer
impl<'de> Deserialize<'de> for CryptoTransfer
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CryptoTransfer, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CryptoTransfer, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CryptoTransfer
impl Serialize for CryptoTransfer
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CryptoTransfer
impl RefUnwindSafe for CryptoTransfer
impl Send for CryptoTransfer
impl Sync for CryptoTransfer
impl Unpin for CryptoTransfer
impl UnwindSafe for CryptoTransfer
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