pub struct TransactionStatusMeta {
pub status: Result<(), TransactionError>,
pub fee: u64,
pub pre_balances: Vec<u64>,
pub post_balances: Vec<u64>,
pub inner_instructions: Option<Vec<InnerInstructions>>,
pub log_messages: Option<Vec<String>>,
pub pre_token_balances: Option<Vec<TransactionTokenBalance>>,
pub post_token_balances: Option<Vec<TransactionTokenBalance>>,
pub rewards: Option<Vec<Reward>>,
pub loaded_addresses: LoadedAddresses,
pub return_data: Option<TransactionReturnData>,
pub compute_units_consumed: Option<u64>,
}
Fields§
§status: Result<(), TransactionError>
§fee: u64
§pre_balances: Vec<u64>
§post_balances: Vec<u64>
§inner_instructions: Option<Vec<InnerInstructions>>
§log_messages: Option<Vec<String>>
§pre_token_balances: Option<Vec<TransactionTokenBalance>>
§post_token_balances: Option<Vec<TransactionTokenBalance>>
§rewards: Option<Vec<Reward>>
§loaded_addresses: LoadedAddresses
§return_data: Option<TransactionReturnData>
§compute_units_consumed: Option<u64>
Trait Implementations§
Source§impl Clone for TransactionStatusMeta
impl Clone for TransactionStatusMeta
Source§fn clone(&self) -> TransactionStatusMeta
fn clone(&self) -> TransactionStatusMeta
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 TransactionStatusMeta
impl Debug for TransactionStatusMeta
Source§impl Default for TransactionStatusMeta
impl Default for TransactionStatusMeta
Source§fn default() -> TransactionStatusMeta
fn default() -> TransactionStatusMeta
Returns the “default value” for a type. Read more
Source§impl From<TransactionStatusMeta> for UiTransactionStatusMeta
impl From<TransactionStatusMeta> for UiTransactionStatusMeta
Source§fn from(meta: TransactionStatusMeta) -> UiTransactionStatusMeta
fn from(meta: TransactionStatusMeta) -> UiTransactionStatusMeta
Converts to this type from the input type.
Source§impl PartialEq for TransactionStatusMeta
impl PartialEq for TransactionStatusMeta
impl StructuralPartialEq for TransactionStatusMeta
Auto Trait Implementations§
impl Freeze for TransactionStatusMeta
impl RefUnwindSafe for TransactionStatusMeta
impl Send for TransactionStatusMeta
impl Sync for TransactionStatusMeta
impl Unpin for TransactionStatusMeta
impl UnwindSafe for TransactionStatusMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more