Type Alias pallet_evm::CallInfo
pub type CallInfo = ExecutionInfoV2<Vec<u8>>;
Aliased Type§
struct CallInfo {
pub exit_reason: ExitReason,
pub value: Vec<u8>,
pub used_gas: UsedGas,
pub weight_info: Option<WeightInfo>,
pub logs: Vec<Log>,
}
Fields§
§exit_reason: ExitReason
§value: Vec<u8>
§used_gas: UsedGas
§weight_info: Option<WeightInfo>
§logs: Vec<Log>
Trait Implementations
§impl<T> PartialEq for ExecutionInfoV2<T>where
T: PartialEq,
impl<T> PartialEq for ExecutionInfoV2<T>where
T: PartialEq,
§fn eq(&self, other: &ExecutionInfoV2<T>) -> bool
fn eq(&self, other: &ExecutionInfoV2<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T> StructuralPartialEq for ExecutionInfoV2<T>
impl<T> Eq for ExecutionInfoV2<T>where
T: Eq,
§impl<T> Decode for ExecutionInfoV2<T>where
T: Decode,
impl<T> Decode for ExecutionInfoV2<T>where
T: Decode,
§fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy
) -> Result<ExecutionInfoV2<T>, Error>where
__CodecInputEdqy: Input,
fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy
) -> Result<ExecutionInfoV2<T>, Error>where
__CodecInputEdqy: Input,
Attempt to deserialise the value from input.
§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§fn skip<I>(input: &mut I) -> Result<(), Error>where
I: Input,
fn skip<I>(input: &mut I) -> Result<(), Error>where
I: Input,
Attempt to skip the encoded value from input. Read more
§fn encoded_fixed_size() -> Option<usize>
fn encoded_fixed_size() -> Option<usize>
Returns the fixed encoded size of the type. Read more
§impl<T> Clone for ExecutionInfoV2<T>where
T: Clone,
impl<T> Clone for ExecutionInfoV2<T>where
T: Clone,
§fn clone(&self) -> ExecutionInfoV2<T>
fn clone(&self) -> ExecutionInfoV2<T>
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 moreimpl<T> StructuralEq for ExecutionInfoV2<T>
§impl<T> Serialize for ExecutionInfoV2<T>where
T: Serialize,
impl<T> Serialize for ExecutionInfoV2<T>where
T: Serialize,
§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
§impl<T> TypeInfo for ExecutionInfoV2<T>where
T: TypeInfo + 'static,
impl<T> TypeInfo for ExecutionInfoV2<T>where
T: TypeInfo + 'static,
§impl<T> Debug for ExecutionInfoV2<T>where
T: Debug,
impl<T> Debug for ExecutionInfoV2<T>where
T: Debug,
§impl<T> Encode for ExecutionInfoV2<T>where
T: Encode,
impl<T> Encode for ExecutionInfoV2<T>where
T: Encode,
§fn encode_to<__CodecOutputEdqy>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)where
__CodecOutputEdqy: Output + ?Sized,
fn encode_to<__CodecOutputEdqy>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)where
__CodecOutputEdqy: Output + ?Sized,
Convert self to a slice and append it to the destination.
§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
Convert self to a slice and then invoke the given closure with it.
§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
impl<T> EncodeLike for ExecutionInfoV2<T>where
T: Encode,
§impl<'de, T> Deserialize<'de> for ExecutionInfoV2<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ExecutionInfoV2<T>where
T: Deserialize<'de>,
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ExecutionInfoV2<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ExecutionInfoV2<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more