pub struct PageResponseBalanceUpdateDataItem {Show 20 fields
pub account_owner_address: String,
pub balance_change: String,
pub balance_change_in_native: String,
pub balance_change_in_usd: String,
pub block_hash: String,
pub block_height: i64,
pub block_slot: Option<i64>,
pub block_timestamp: i64,
pub change_type: BalanceChangeType,
pub index: i64,
pub post_balance: String,
pub post_balance_in_native: String,
pub post_balance_in_usd: String,
pub pre_balance: String,
pub pre_balance_in_native: String,
pub pre_balance_in_usd: String,
pub token_account_address: String,
pub token_address: String,
pub transaction_signature: String,
pub type_: BalanceTokenType,
}Expand description
Balance update record
JSON schema
{
"description": "Balance update record",
"type": "object",
"required": [
"accountOwnerAddress",
"balanceChange",
"balanceChangeInNative",
"balanceChangeInUsd",
"blockHash",
"blockHeight",
"blockTimestamp",
"changeType",
"index",
"postBalance",
"postBalanceInNative",
"postBalanceInUsd",
"preBalance",
"preBalanceInNative",
"preBalanceInUsd",
"tokenAccountAddress",
"tokenAddress",
"transactionSignature",
"type"
],
"properties": {
"accountOwnerAddress": {
"description": "Account owner wallet address",
"type": "string"
},
"balanceChange": {
"description": "Balance change amount",
"type": "string"
},
"balanceChangeInNative": {
"description": "Balance change in native token",
"type": "string"
},
"balanceChangeInUsd": {
"description": "Balance change in USD",
"type": "string"
},
"blockHash": {
"description": "Block hash",
"type": "string"
},
"blockHeight": {
"description": "Block height",
"type": "integer",
"format": "int64"
},
"blockSlot": {
"description": "Block slot number",
"type": "integer",
"format": "int64"
},
"blockTimestamp": {
"description": "Block timestamp (milliseconds)",
"type": "integer",
"format": "int64"
},
"changeType": {
"$ref": "#/components/schemas/BalanceChangeType"
},
"index": {
"description": "Transaction instruction index",
"type": "integer",
"format": "int64"
},
"postBalance": {
"description": "Balance after the transaction",
"type": "string"
},
"postBalanceInNative": {
"description": "Balance after in native token",
"type": "string"
},
"postBalanceInUsd": {
"description": "Balance after in USD",
"type": "string"
},
"preBalance": {
"description": "Balance before the transaction",
"type": "string"
},
"preBalanceInNative": {
"description": "Balance before in native token",
"type": "string"
},
"preBalanceInUsd": {
"description": "Balance before in USD",
"type": "string"
},
"tokenAccountAddress": {
"description": "Token account address",
"type": "string"
},
"tokenAddress": {
"description": "Token contract address",
"type": "string"
},
"transactionSignature": {
"description": "Transaction signature",
"type": "string"
},
"type": {
"$ref": "#/components/schemas/BalanceTokenType"
}
}
}Fields§
§account_owner_address: StringAccount owner wallet address
balance_change: StringBalance change amount
balance_change_in_native: StringBalance change in native token
balance_change_in_usd: StringBalance change in USD
block_hash: StringBlock hash
block_height: i64Block height
block_slot: Option<i64>Block slot number
block_timestamp: i64Block timestamp (milliseconds)
change_type: BalanceChangeType§index: i64Transaction instruction index
post_balance: StringBalance after the transaction
post_balance_in_native: StringBalance after in native token
post_balance_in_usd: StringBalance after in USD
pre_balance: StringBalance before the transaction
pre_balance_in_native: StringBalance before in native token
pre_balance_in_usd: StringBalance before in USD
token_account_address: StringToken account address
token_address: StringToken contract address
transaction_signature: StringTransaction signature
type_: BalanceTokenTypeImplementations§
Trait Implementations§
Source§impl Clone for PageResponseBalanceUpdateDataItem
impl Clone for PageResponseBalanceUpdateDataItem
Source§fn clone(&self) -> PageResponseBalanceUpdateDataItem
fn clone(&self) -> PageResponseBalanceUpdateDataItem
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 PageResponseBalanceUpdateDataItem
impl<'de> Deserialize<'de> for PageResponseBalanceUpdateDataItem
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<&PageResponseBalanceUpdateDataItem> for PageResponseBalanceUpdateDataItem
impl From<&PageResponseBalanceUpdateDataItem> for PageResponseBalanceUpdateDataItem
Source§fn from(value: &PageResponseBalanceUpdateDataItem) -> Self
fn from(value: &PageResponseBalanceUpdateDataItem) -> Self
Converts to this type from the input type.
Source§impl From<PageResponseBalanceUpdateDataItem> for PageResponseBalanceUpdateDataItem
impl From<PageResponseBalanceUpdateDataItem> for PageResponseBalanceUpdateDataItem
Source§fn from(value: PageResponseBalanceUpdateDataItem) -> Self
fn from(value: PageResponseBalanceUpdateDataItem) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PageResponseBalanceUpdateDataItem> for PageResponseBalanceUpdateDataItem
impl TryFrom<PageResponseBalanceUpdateDataItem> for PageResponseBalanceUpdateDataItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PageResponseBalanceUpdateDataItem,
) -> Result<Self, ConversionError>
fn try_from( value: PageResponseBalanceUpdateDataItem, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PageResponseBalanceUpdateDataItem
impl RefUnwindSafe for PageResponseBalanceUpdateDataItem
impl Send for PageResponseBalanceUpdateDataItem
impl Sync for PageResponseBalanceUpdateDataItem
impl Unpin for PageResponseBalanceUpdateDataItem
impl UnsafeUnpin for PageResponseBalanceUpdateDataItem
impl UnwindSafe for PageResponseBalanceUpdateDataItem
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