pub struct PageResponseWalletTransferDataItem {
pub amount: String,
pub amount_in_usd: Option<String>,
pub block_timestamp: i64,
pub from_address: String,
pub id: String,
pub to_address: String,
pub token_address: String,
pub transaction_signature: String,
pub transfer_type: String,
}Expand description
Wallet transfer
JSON schema
{
"description": "Wallet transfer",
"type": "object",
"required": [
"amount",
"blockTimestamp",
"fromAddress",
"id",
"toAddress",
"tokenAddress",
"transactionSignature",
"transferType"
],
"properties": {
"amount": {
"description": "Transfer amount in token units",
"examples": [
"1.5"
],
"type": "string"
},
"amountInUsd": {
"description": "Transfer amount in USD",
"examples": [
"225.00"
],
"type": "string"
},
"blockTimestamp": {
"description": "Block timestamp (milliseconds)",
"examples": [
1717334400000
],
"type": "integer",
"format": "int64"
},
"fromAddress": {
"description": "Sender address",
"examples": [
"54Pz1e35z9uoFdnxtzjp7xZQoFiofqhdayQWBMN7dsuy"
],
"type": "string"
},
"id": {
"description": "Transfer record identifier",
"examples": [
"transfer-123"
],
"type": "string"
},
"toAddress": {
"description": "Receiver address",
"examples": [
"8X35rQUK2u9hfn8rMPwwr6ZSEUhbmfDPEapp589XyoM1"
],
"type": "string"
},
"tokenAddress": {
"description": "Token contract address",
"examples": [
"So11111111111111111111111111111111111111112"
],
"type": "string"
},
"transactionSignature": {
"description": "Transaction signature",
"examples": [
"4tEHfECrLJm8N7dNCfQSjhLG7LqdMuZhzBhRy7VRhjCt"
],
"type": "string"
},
"transferType": {
"description": "Transfer type (SEND or RECEIVE)",
"examples": [
"SEND"
],
"type": "string"
}
}
}Fields§
§amount: StringTransfer amount in token units
amount_in_usd: Option<String>Transfer amount in USD
block_timestamp: i64Block timestamp (milliseconds)
from_address: StringSender address
id: StringTransfer record identifier
to_address: StringReceiver address
token_address: StringToken contract address
transaction_signature: StringTransaction signature
transfer_type: StringTransfer type (SEND or RECEIVE)
Implementations§
Trait Implementations§
Source§impl Clone for PageResponseWalletTransferDataItem
impl Clone for PageResponseWalletTransferDataItem
Source§fn clone(&self) -> PageResponseWalletTransferDataItem
fn clone(&self) -> PageResponseWalletTransferDataItem
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<'de> Deserialize<'de> for PageResponseWalletTransferDataItem
impl<'de> Deserialize<'de> for PageResponseWalletTransferDataItem
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 From<&PageResponseWalletTransferDataItem> for PageResponseWalletTransferDataItem
impl From<&PageResponseWalletTransferDataItem> for PageResponseWalletTransferDataItem
Source§fn from(value: &PageResponseWalletTransferDataItem) -> Self
fn from(value: &PageResponseWalletTransferDataItem) -> Self
Converts to this type from the input type.
Source§impl From<PageResponseWalletTransferDataItem> for PageResponseWalletTransferDataItem
impl From<PageResponseWalletTransferDataItem> for PageResponseWalletTransferDataItem
Source§fn from(value: PageResponseWalletTransferDataItem) -> Self
fn from(value: PageResponseWalletTransferDataItem) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PageResponseWalletTransferDataItem> for PageResponseWalletTransferDataItem
impl TryFrom<PageResponseWalletTransferDataItem> for PageResponseWalletTransferDataItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PageResponseWalletTransferDataItem,
) -> Result<Self, ConversionError>
fn try_from( value: PageResponseWalletTransferDataItem, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PageResponseWalletTransferDataItem
impl RefUnwindSafe for PageResponseWalletTransferDataItem
impl Send for PageResponseWalletTransferDataItem
impl Sync for PageResponseWalletTransferDataItem
impl Unpin for PageResponseWalletTransferDataItem
impl UnsafeUnpin for PageResponseWalletTransferDataItem
impl UnwindSafe for PageResponseWalletTransferDataItem
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