pub struct StellarTransactionInfo {Show 15 fields
pub status: String,
pub transaction_hash: String,
pub application_order: i32,
pub fee_bump: bool,
pub envelope_xdr: Option<String>,
pub envelope_json: Option<Value>,
pub result_xdr: Option<String>,
pub result_json: Option<Value>,
pub result_meta_xdr: Option<String>,
pub result_meta_json: Option<Value>,
pub diagnostic_events_xdr: Option<Vec<String>>,
pub diagnostic_events_json: Option<Vec<Value>>,
pub ledger: u32,
pub ledger_close_time: i64,
pub decoded: Option<DecodedTransaction>,
}
Expand description
Information about a Stellar transaction
This structure represents the response from the Stellar RPC endpoint and matches the format defined in the stellar-rpc repository.
Fields§
§status: String
Current status of the transaction
transaction_hash: String
Hash of the transaction
application_order: i32
Order of this transaction within its ledger
fee_bump: bool
Whether this is a fee bump transaction
envelope_xdr: Option<String>
Base64-encoded XDR of the transaction envelope
envelope_json: Option<Value>
Decoded JSON representation of the envelope
result_xdr: Option<String>
Base64-encoded XDR of the transaction result
result_json: Option<Value>
Decoded JSON representation of the result
result_meta_xdr: Option<String>
Base64-encoded XDR of the transaction metadata
result_meta_json: Option<Value>
Decoded JSON representation of the metadata
diagnostic_events_xdr: Option<Vec<String>>
Base64-encoded XDR of diagnostic events
diagnostic_events_json: Option<Vec<Value>>
Decoded JSON representation of diagnostic events
ledger: u32
Sequence number of the containing ledger
ledger_close_time: i64
Timestamp when the ledger was closed
decoded: Option<DecodedTransaction>
Decoded transaction data
Trait Implementations§
Source§impl Clone for TransactionInfo
impl Clone for TransactionInfo
Source§fn clone(&self) -> TransactionInfo
fn clone(&self) -> TransactionInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TransactionInfo
impl Debug for TransactionInfo
Source§impl Default for TransactionInfo
impl Default for TransactionInfo
Source§fn default() -> TransactionInfo
fn default() -> TransactionInfo
Source§impl<'de> Deserialize<'de> for TransactionInfo
impl<'de> Deserialize<'de> for TransactionInfo
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>,
Source§impl From<TransactionInfo> for Transaction
impl From<TransactionInfo> for Transaction
Source§fn from(tx: TransactionInfo) -> Self
fn from(tx: TransactionInfo) -> Self
Auto Trait Implementations§
impl Freeze for TransactionInfo
impl RefUnwindSafe for TransactionInfo
impl Send for TransactionInfo
impl Sync for TransactionInfo
impl Unpin for TransactionInfo
impl UnwindSafe for TransactionInfo
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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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