pub struct EnhancedTransactionLog {
pub signature: Signature,
pub slot: u64,
pub status: TransactionStatus,
pub fee: u64,
pub compute_used: u64,
pub compute_total: u64,
pub instructions: Vec<EnhancedInstructionLog>,
pub account_changes: Vec<AccountChange>,
pub program_logs_pretty: String,
pub light_events: Vec<LightProtocolEvent>,
}Expand description
Enhanced transaction log containing all formatting information
Fields§
§signature: Signature§slot: u64§status: TransactionStatus§fee: u64§compute_used: u64§compute_total: u64§instructions: Vec<EnhancedInstructionLog>§account_changes: Vec<AccountChange>§program_logs_pretty: String§light_events: Vec<LightProtocolEvent>Implementations§
Source§impl EnhancedTransactionLog
impl EnhancedTransactionLog
Sourcepub fn from_transaction_result(
transaction: &Transaction,
result: &TransactionResult,
signature: &Signature,
slot: u64,
config: &EnhancedLoggingConfig,
) -> Self
pub fn from_transaction_result( transaction: &Transaction, result: &TransactionResult, signature: &Signature, slot: u64, config: &EnhancedLoggingConfig, ) -> Self
Create from LiteSVM transaction result
Trait Implementations§
Source§impl Clone for EnhancedTransactionLog
impl Clone for EnhancedTransactionLog
Source§fn clone(&self) -> EnhancedTransactionLog
fn clone(&self) -> EnhancedTransactionLog
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for EnhancedTransactionLog
impl RefUnwindSafe for EnhancedTransactionLog
impl Send for EnhancedTransactionLog
impl Sync for EnhancedTransactionLog
impl Unpin for EnhancedTransactionLog
impl UnwindSafe for EnhancedTransactionLog
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