pub struct UiTransactionStatusMeta {Show 13 fields
pub err: Option<TransactionError>,
pub status: TransactionResult<()>,
pub fee: u64,
pub pre_balances: Vec<u64>,
pub post_balances: Vec<u64>,
pub inner_instructions: OptionSerializer<Vec<UiInnerInstructions>>,
pub log_messages: OptionSerializer<Vec<String>>,
pub pre_token_balances: OptionSerializer<Vec<UiTransactionTokenBalance>>,
pub post_token_balances: OptionSerializer<Vec<UiTransactionTokenBalance>>,
pub rewards: OptionSerializer<Rewards>,
pub loaded_addresses: OptionSerializer<UiLoadedAddresses>,
pub return_data: OptionSerializer<UiTransactionReturnData>,
pub compute_units_consumed: OptionSerializer<u64>,
}
Expand description
A duplicate representation of TransactionStatusMeta with err
field
Fields§
§err: Option<TransactionError>
§status: TransactionResult<()>
§fee: u64
§pre_balances: Vec<u64>
§post_balances: Vec<u64>
§inner_instructions: OptionSerializer<Vec<UiInnerInstructions>>
§log_messages: OptionSerializer<Vec<String>>
§pre_token_balances: OptionSerializer<Vec<UiTransactionTokenBalance>>
§post_token_balances: OptionSerializer<Vec<UiTransactionTokenBalance>>
§rewards: OptionSerializer<Rewards>
§loaded_addresses: OptionSerializer<UiLoadedAddresses>
§return_data: OptionSerializer<UiTransactionReturnData>
§compute_units_consumed: OptionSerializer<u64>
Trait Implementations§
source§impl Clone for UiTransactionStatusMeta
impl Clone for UiTransactionStatusMeta
source§fn clone(&self) -> UiTransactionStatusMeta
fn clone(&self) -> UiTransactionStatusMeta
Returns a copy 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 UiTransactionStatusMeta
impl Debug for UiTransactionStatusMeta
source§impl<'de> Deserialize<'de> for UiTransactionStatusMeta
impl<'de> Deserialize<'de> for UiTransactionStatusMeta
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<TransactionStatusMeta> for UiTransactionStatusMeta
impl From<TransactionStatusMeta> for UiTransactionStatusMeta
source§fn from(meta: TransactionStatusMeta) -> Self
fn from(meta: TransactionStatusMeta) -> Self
Converts to this type from the input type.
source§impl PartialEq<UiTransactionStatusMeta> for UiTransactionStatusMeta
impl PartialEq<UiTransactionStatusMeta> for UiTransactionStatusMeta
source§fn eq(&self, other: &UiTransactionStatusMeta) -> bool
fn eq(&self, other: &UiTransactionStatusMeta) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.