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": "ENTITY.BALANCE_UPDATE.ACCOUNT_OWNER_ADDRESS",
"type": "string"
},
"balanceChange": {
"description": "ENTITY.BALANCE_UPDATE.BALANCE_CHANGE",
"type": "string"
},
"balanceChangeInNative": {
"description": "ENTITY.BALANCE_UPDATE.BALANCE_CHANGE_IN_NATIVE",
"type": "string"
},
"balanceChangeInUsd": {
"description": "ENTITY.BALANCE_UPDATE.BALANCE_CHANGE_IN_USD",
"type": "string"
},
"blockHash": {
"description": "ENTITY.BALANCE_UPDATE.BLOCK_HASH",
"type": "string"
},
"blockHeight": {
"description": "ENTITY.BALANCE_UPDATE.BLOCK_HEIGHT",
"type": "integer",
"format": "int64"
},
"blockSlot": {
"description": "ENTITY.BALANCE_UPDATE.BLOCK_SLOT",
"type": "integer",
"format": "int64"
},
"blockTimestamp": {
"description": "ENTITY.BALANCE_UPDATE.BLOCK_TIMESTAMP",
"type": "integer",
"format": "int64"
},
"changeType": {
"$ref": "#/components/schemas/BalanceChangeType"
},
"index": {
"description": "ENTITY.BALANCE_UPDATE.INDEX",
"type": "integer",
"format": "int64"
},
"postBalance": {
"description": "ENTITY.BALANCE_UPDATE.POST_BALANCE",
"type": "string"
},
"postBalanceInNative": {
"description": "ENTITY.BALANCE_UPDATE.POST_BALANCE_IN_NATIVE",
"type": "string"
},
"postBalanceInUsd": {
"description": "ENTITY.BALANCE_UPDATE.POST_BALANCE_IN_USD",
"type": "string"
},
"preBalance": {
"description": "ENTITY.BALANCE_UPDATE.PRE_BALANCE",
"type": "string"
},
"preBalanceInNative": {
"description": "ENTITY.BALANCE_UPDATE.PRE_BALANCE_IN_NATIVE",
"type": "string"
},
"preBalanceInUsd": {
"description": "ENTITY.BALANCE_UPDATE.PRE_BALANCE_IN_USD",
"type": "string"
},
"tokenAccountAddress": {
"description": "ENTITY.BALANCE_UPDATE.TOKEN_ACCOUNT_ADDRESS",
"type": "string"
},
"tokenAddress": {
"description": "ENTITY.BALANCE_UPDATE.TOKEN_ADDRESS",
"type": "string"
},
"transactionSignature": {
"description": "ENTITY.BALANCE_UPDATE.TRANSACTION_SIGNATURE",
"type": "string"
},
"type": {
"$ref": "#/components/schemas/BalanceTokenType"
}
}
}Fields§
§account_owner_address: StringENTITY.BALANCE_UPDATE.ACCOUNT_OWNER_ADDRESS
balance_change: StringENTITY.BALANCE_UPDATE.BALANCE_CHANGE
balance_change_in_native: StringENTITY.BALANCE_UPDATE.BALANCE_CHANGE_IN_NATIVE
balance_change_in_usd: StringENTITY.BALANCE_UPDATE.BALANCE_CHANGE_IN_USD
block_hash: StringENTITY.BALANCE_UPDATE.BLOCK_HASH
block_height: i64ENTITY.BALANCE_UPDATE.BLOCK_HEIGHT
block_slot: Option<i64>ENTITY.BALANCE_UPDATE.BLOCK_SLOT
block_timestamp: i64ENTITY.BALANCE_UPDATE.BLOCK_TIMESTAMP
change_type: BalanceChangeType§index: i64ENTITY.BALANCE_UPDATE.INDEX
post_balance: StringENTITY.BALANCE_UPDATE.POST_BALANCE
post_balance_in_native: StringENTITY.BALANCE_UPDATE.POST_BALANCE_IN_NATIVE
post_balance_in_usd: StringENTITY.BALANCE_UPDATE.POST_BALANCE_IN_USD
pre_balance: StringENTITY.BALANCE_UPDATE.PRE_BALANCE
pre_balance_in_native: StringENTITY.BALANCE_UPDATE.PRE_BALANCE_IN_NATIVE
pre_balance_in_usd: StringENTITY.BALANCE_UPDATE.PRE_BALANCE_IN_USD
token_account_address: StringENTITY.BALANCE_UPDATE.TOKEN_ACCOUNT_ADDRESS
token_address: StringENTITY.BALANCE_UPDATE.TOKEN_ADDRESS
transaction_signature: StringENTITY.BALANCE_UPDATE.TRANSACTION_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 · 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