pub struct DefaultFrame {
pub failed: bool,
pub gas: u64,
pub return_value: Bytes,
pub struct_logs: Vec<StructLog>,
}
Expand description
Geth Default struct log trace frame
Fields§
§failed: bool
Whether the transaction failed
gas: u64
How much gas was used.
return_value: Bytes
Output of the transaction
struct_logs: Vec<StructLog>
Recorded traces of the transaction
Trait Implementations§
source§impl Clone for DefaultFrame
impl Clone for DefaultFrame
source§fn clone(&self) -> DefaultFrame
fn clone(&self) -> DefaultFrame
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 DefaultFrame
impl Debug for DefaultFrame
source§impl Default for DefaultFrame
impl Default for DefaultFrame
source§fn default() -> DefaultFrame
fn default() -> DefaultFrame
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DefaultFrame
impl<'de> Deserialize<'de> for DefaultFrame
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<DefaultFrame> for GethTrace
impl From<DefaultFrame> for GethTrace
source§fn from(value: DefaultFrame) -> Self
fn from(value: DefaultFrame) -> Self
Converts to this type from the input type.
source§impl PartialEq for DefaultFrame
impl PartialEq for DefaultFrame
source§impl Serialize for DefaultFrame
impl Serialize for DefaultFrame
impl Eq for DefaultFrame
impl StructuralPartialEq for DefaultFrame
Auto Trait Implementations§
impl !Freeze for DefaultFrame
impl RefUnwindSafe for DefaultFrame
impl Send for DefaultFrame
impl Sync for DefaultFrame
impl Unpin for DefaultFrame
impl UnwindSafe for DefaultFrame
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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