pub struct WalletFirstTxItemDto {
pub balance_change: String,
pub block_number: i64,
pub block_time: i64,
pub decimals: i64,
pub token_address: String,
pub tx_hash: String,
}Expand description
WalletFirstTxItemDto
JSON schema
{
"type": "object",
"required": [
"balanceChange",
"blockNumber",
"blockTime",
"decimals",
"tokenAddress",
"txHash"
],
"properties": {
"balanceChange": {
"description": "DTO.WALLET.FIRST_TX.BALANCE_CHANGE",
"examples": [
"0"
],
"type": "string"
},
"blockNumber": {
"description": "DTO.WALLET.FIRST_TX.BLOCK_NUMBER",
"examples": [
398645949
],
"type": "integer",
"format": "int64"
},
"blockTime": {
"description": "DTO.WALLET.FIRST_TX.BLOCK_TIME",
"examples": [
1717292678
],
"type": "integer",
"format": "int64"
},
"decimals": {
"description": "DTO.WALLET.FIRST_TX.TOKEN_DECIMALS",
"examples": [
9
],
"type": "integer",
"format": "int64"
},
"tokenAddress": {
"description": "DTO.WALLET.FIRST_TX.TOKEN_ADDRESS",
"examples": [
"11111111111111111111111111111111"
],
"type": "string"
},
"txHash": {
"description": "DTO.WALLET.FIRST_TX.TX_HASH",
"examples": [
"5rG9igZk95gbS8ZG66upvRfbcaaDpokQYg4ny3WQ3DrA..."
],
"type": "string"
}
}
}Fields§
§balance_change: StringDTO.WALLET.FIRST_TX.BALANCE_CHANGE
block_number: i64DTO.WALLET.FIRST_TX.BLOCK_NUMBER
block_time: i64DTO.WALLET.FIRST_TX.BLOCK_TIME
decimals: i64DTO.WALLET.FIRST_TX.TOKEN_DECIMALS
token_address: StringDTO.WALLET.FIRST_TX.TOKEN_ADDRESS
tx_hash: StringDTO.WALLET.FIRST_TX.TX_HASH
Implementations§
Source§impl WalletFirstTxItemDto
impl WalletFirstTxItemDto
pub fn builder() -> WalletFirstTxItemDto
Trait Implementations§
Source§impl Clone for WalletFirstTxItemDto
impl Clone for WalletFirstTxItemDto
Source§fn clone(&self) -> WalletFirstTxItemDto
fn clone(&self) -> WalletFirstTxItemDto
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 WalletFirstTxItemDto
impl Debug for WalletFirstTxItemDto
Source§impl<'de> Deserialize<'de> for WalletFirstTxItemDto
impl<'de> Deserialize<'de> for WalletFirstTxItemDto
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<&WalletFirstTxItemDto> for WalletFirstTxItemDto
impl From<&WalletFirstTxItemDto> for WalletFirstTxItemDto
Source§fn from(value: &WalletFirstTxItemDto) -> Self
fn from(value: &WalletFirstTxItemDto) -> Self
Converts to this type from the input type.
Source§impl From<WalletFirstTxItemDto> for WalletFirstTxItemDto
impl From<WalletFirstTxItemDto> for WalletFirstTxItemDto
Source§fn from(value: WalletFirstTxItemDto) -> Self
fn from(value: WalletFirstTxItemDto) -> Self
Converts to this type from the input type.
Source§impl Serialize for WalletFirstTxItemDto
impl Serialize for WalletFirstTxItemDto
Source§impl TryFrom<WalletFirstTxItemDto> for WalletFirstTxItemDto
impl TryFrom<WalletFirstTxItemDto> for WalletFirstTxItemDto
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WalletFirstTxItemDto) -> Result<Self, ConversionError>
fn try_from(value: WalletFirstTxItemDto) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WalletFirstTxItemDto
impl RefUnwindSafe for WalletFirstTxItemDto
impl Send for WalletFirstTxItemDto
impl Sync for WalletFirstTxItemDto
impl Unpin for WalletFirstTxItemDto
impl UnwindSafe for WalletFirstTxItemDto
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