Struct ethcore::trace::LocalizedTrace
source · [−]pub struct LocalizedTrace {
pub action: Action,
pub result: Res,
pub subtraces: usize,
pub trace_address: Vec<usize>,
pub transaction_number: Option<usize>,
pub transaction_hash: Option<H256>,
pub block_number: BlockNumber,
pub block_hash: H256,
}
Expand description
Localized trace.
Fields
action: Action
Type of action performed by a transaction.
result: Res
Result of this action.
subtraces: usize
Number of subtraces.
trace_address: Vec<usize>
Exact location of trace.
[index in root, index in first CALL, index in second CALL, …]
transaction_number: Option<usize>
Transaction number within the block.
transaction_hash: Option<H256>
Signed transaction hash.
block_number: BlockNumber
Block number.
block_hash: H256
Block hash.
Trait Implementations
sourceimpl Clone for LocalizedTrace
impl Clone for LocalizedTrace
sourcefn clone(&self) -> LocalizedTrace
fn clone(&self) -> LocalizedTrace
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LocalizedTrace
impl Debug for LocalizedTrace
sourceimpl PartialEq<LocalizedTrace> for LocalizedTrace
impl PartialEq<LocalizedTrace> for LocalizedTrace
sourcefn eq(&self, other: &LocalizedTrace) -> bool
fn eq(&self, other: &LocalizedTrace) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LocalizedTrace) -> bool
fn ne(&self, other: &LocalizedTrace) -> bool
This method tests for !=
.
impl StructuralPartialEq for LocalizedTrace
Auto Trait Implementations
impl RefUnwindSafe for LocalizedTrace
impl Send for LocalizedTrace
impl Sync for LocalizedTrace
impl Unpin for LocalizedTrace
impl UnwindSafe for LocalizedTrace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more