Struct cfx_rpc_eth_types::LocalizedTrace
source · pub struct LocalizedTrace {
pub action: Action,
pub result: Res,
pub trace_address: Vec<usize>,
pub subtraces: usize,
pub transaction_position: Option<usize>,
pub transaction_hash: Option<H256>,
pub block_number: u64,
pub block_hash: H256,
pub valid: bool,
}
Expand description
Trace
Fields§
§action: Action
Action
result: Res
Result
trace_address: Vec<usize>
Trace address
subtraces: usize
Subtraces
transaction_position: Option<usize>
Transaction position
transaction_hash: Option<H256>
Transaction hash
block_number: u64
Block Number
block_hash: H256
Block Hash
valid: bool
Valid
Implementations§
source§impl LocalizedTrace
impl LocalizedTrace
pub fn set_result(&mut self, result: Action) -> Result<(), Error>
Trait Implementations§
source§impl Clone for LocalizedTrace
impl Clone for LocalizedTrace
source§fn clone(&self) -> LocalizedTrace
fn clone(&self) -> LocalizedTrace
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 LocalizedTrace
impl Debug for LocalizedTrace
source§impl Serialize for LocalizedTrace
impl Serialize for LocalizedTrace
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryFrom<LocalizedTrace> for LocalizedTrace
impl TryFrom<LocalizedTrace> for LocalizedTrace
source§fn try_from(cfx_trace: LocalizedTrace) -> Result<LocalizedTrace, String>
fn try_from(cfx_trace: LocalizedTrace) -> Result<LocalizedTrace, String>
Performs the conversion.
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§
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