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": "ENTITY.WALLET_TRANSFER.AMOUNT",
"examples": [
"1.5"
],
"type": "string"
},
"amountInUsd": {
"description": "ENTITY.WALLET_TRANSFER.AMOUNT_IN_USD",
"examples": [
"225.00"
],
"type": "string"
},
"blockTimestamp": {
"description": "ENTITY.WALLET_TRANSFER.BLOCK_TIMESTAMP",
"examples": [
1717334400000
],
"type": "integer",
"format": "int64"
},
"fromAddress": {
"description": "ENTITY.WALLET_TRANSFER.FROM_ADDRESS",
"examples": [
"54Pz1e35z9uoFdnxtzjp7xZQoFiofqhdayQWBMN7dsuy"
],
"type": "string"
},
"id": {
"description": "ENTITY.WALLET_TRANSFER.ID",
"examples": [
"transfer-123"
],
"type": "string"
},
"toAddress": {
"description": "ENTITY.WALLET_TRANSFER.TO_ADDRESS",
"examples": [
"8X35rQUK2u9hfn8rMPwwr6ZSEUhbmfDPEapp589XyoM1"
],
"type": "string"
},
"tokenAddress": {
"description": "ENTITY.WALLET_TRANSFER.TOKEN_ADDRESS",
"examples": [
"So11111111111111111111111111111111111111112"
],
"type": "string"
},
"transactionSignature": {
"description": "ENTITY.WALLET_TRANSFER.TRANSACTION_SIGNATURE",
"examples": [
"4tEHfECrLJm8N7dNCfQSjhLG7LqdMuZhzBhRy7VRhjCt"
],
"type": "string"
},
"transferType": {
"description": "ENTITY.WALLET_TRANSFER.TRANSFER_TYPE",
"examples": [
"SEND"
],
"type": "string"
}
}
}Fields§
§amount: StringENTITY.WALLET_TRANSFER.AMOUNT
amount_in_usd: Option<String>ENTITY.WALLET_TRANSFER.AMOUNT_IN_USD
block_timestamp: i64ENTITY.WALLET_TRANSFER.BLOCK_TIMESTAMP
from_address: StringENTITY.WALLET_TRANSFER.FROM_ADDRESS
id: StringENTITY.WALLET_TRANSFER.ID
to_address: StringENTITY.WALLET_TRANSFER.TO_ADDRESS
token_address: StringENTITY.WALLET_TRANSFER.TOKEN_ADDRESS
transaction_signature: StringENTITY.WALLET_TRANSFER.TRANSACTION_SIGNATURE
transfer_type: StringENTITY.WALLET_TRANSFER.TRANSFER_TYPE
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 · 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