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