pub struct UiTransactionStatusMeta {Show 13 fields
pub err: Option<TransactionError>,
pub status: Result<()>,
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: Result<()>
§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 for UiTransactionStatusMeta
impl PartialEq for UiTransactionStatusMeta
source§impl Serialize for UiTransactionStatusMeta
impl Serialize for UiTransactionStatusMeta
impl StructuralPartialEq for UiTransactionStatusMeta
Auto Trait Implementations§
impl Freeze for UiTransactionStatusMeta
impl RefUnwindSafe for UiTransactionStatusMeta
impl Send for UiTransactionStatusMeta
impl Sync for UiTransactionStatusMeta
impl Unpin for UiTransactionStatusMeta
impl UnwindSafe for UiTransactionStatusMeta
Blanket Implementations§
source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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