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