pub enum TransactionWithStatusMeta {
MissingMetadata(Transaction),
Complete(VersionedTransactionWithStatusMeta),
}
Variants§
MissingMetadata(Transaction)
Complete(VersionedTransactionWithStatusMeta)
Implementations§
source§impl TransactionWithStatusMeta
impl TransactionWithStatusMeta
pub fn get_status_meta(&self) -> Option<TransactionStatusMeta>
pub fn get_transaction(&self) -> VersionedTransaction
pub fn transaction_signature(&self) -> &Signature
pub fn encode( self, encoding: UiTransactionEncoding, max_supported_transaction_version: Option<u8>, show_rewards: bool ) -> Result<EncodedTransactionWithStatusMeta, EncodeError>
pub fn account_keys(&self) -> AccountKeys<'_>
Trait Implementations§
source§impl Clone for TransactionWithStatusMeta
impl Clone for TransactionWithStatusMeta
source§fn clone(&self) -> TransactionWithStatusMeta
fn clone(&self) -> TransactionWithStatusMeta
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 TransactionWithStatusMeta
impl Debug for TransactionWithStatusMeta
source§impl PartialEq<TransactionWithStatusMeta> for TransactionWithStatusMeta
impl PartialEq<TransactionWithStatusMeta> for TransactionWithStatusMeta
source§fn eq(&self, other: &TransactionWithStatusMeta) -> bool
fn eq(&self, other: &TransactionWithStatusMeta) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.