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
source§impl<T> Encode for ExecutionInfoV2<T>where
T: Encode,
impl<T> Encode for ExecutionInfoV2<T>where
T: Encode,
source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )
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> StructuralEq for ExecutionInfoV2<T>
source§impl<T> Serialize for ExecutionInfoV2<T>where
T: Serialize,
impl<T> Serialize for ExecutionInfoV2<T>where
T: Serialize,
impl<T> EncodeLike for ExecutionInfoV2<T>where
T: Encode,
source§impl<T: Debug> Debug for ExecutionInfoV2<T>
impl<T: Debug> Debug for ExecutionInfoV2<T>
source§impl<T> TypeInfo for ExecutionInfoV2<T>where
T: TypeInfo + 'static,
impl<T> TypeInfo for ExecutionInfoV2<T>where
T: TypeInfo + 'static,
source§impl<T> Decode for ExecutionInfoV2<T>where
T: Decode,
impl<T> Decode for ExecutionInfoV2<T>where
T: Decode,
source§fn decode<__CodecInputEdqy: Input>(
__codec_input_edqy: &mut __CodecInputEdqy
) -> Result<Self, Error>
fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>
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> StructuralPartialEq for ExecutionInfoV2<T>
source§impl<T: PartialEq> PartialEq for ExecutionInfoV2<T>
impl<T: PartialEq> PartialEq for ExecutionInfoV2<T>
source§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 ==
.source§impl<T: Clone> Clone for ExecutionInfoV2<T>
impl<T: Clone> Clone for ExecutionInfoV2<T>
source§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: Eq> Eq for ExecutionInfoV2<T>
source§impl<'de, T> Deserialize<'de> for ExecutionInfoV2<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ExecutionInfoV2<T>where
T: Deserialize<'de>,
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