pub struct AccountActivityData {
pub slot: u64,
pub tx_index: u32,
pub signature: String,
pub account: String,
pub pre_balance: u64,
pub post_balance: u64,
pub balance_change: i64,
pub is_signer: bool,
pub is_fee_payer: bool,
pub block_time: Option<i64>,
}Expand description
SOL balance change data passed to Plugin::on_account_activity.
One entry per account key touched by the transaction. Includes signer/fee-payer flags for filtering.
Fields§
§slot: u64§tx_index: u32§signature: String§account: String§pre_balance: u64§post_balance: u64§balance_change: i64§is_signer: bool§is_fee_payer: bool§block_time: Option<i64>Trait Implementations§
Source§impl Clone for AccountActivityData
impl Clone for AccountActivityData
Source§fn clone(&self) -> AccountActivityData
fn clone(&self) -> AccountActivityData
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 AccountActivityData
impl Debug for AccountActivityData
Source§impl<'de> Deserialize<'de> for AccountActivityData
impl<'de> Deserialize<'de> for AccountActivityData
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
Auto Trait Implementations§
impl Freeze for AccountActivityData
impl RefUnwindSafe for AccountActivityData
impl Send for AccountActivityData
impl Sync for AccountActivityData
impl Unpin for AccountActivityData
impl UnsafeUnpin for AccountActivityData
impl UnwindSafe for AccountActivityData
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