pub trait Receipt {
// Required methods
fn caller(&self) -> &Address;
fn callee(&self) -> &Address;
fn gas_used(&self) -> u64;
fn events(&self) -> Vec<&Event>;
fn outcome(&self) -> TransactionOutcome;
fn output(&self) -> &[u8] ⓘ;
// Provided method
fn reverted(&self) -> bool { ... }
}Required Methods§
fn caller(&self) -> &Address
fn callee(&self) -> &Address
Sourcefn outcome(&self) -> TransactionOutcome
fn outcome(&self) -> TransactionOutcome
Returns the outcome of this transaction.