pub struct EvmTransaction {
pub expiration_time_seconds: u64,
pub gas_limit: String,
pub value: String,
pub to: Vec<u8>,
pub from: Vec<u8>,
pub data: Vec<u8>,
}
Expand description
EVM Represents an Ethereum Virtual Machine (EVM) transaction.
Fields§
§expiration_time_seconds: u64
The expiration time of the transaction in seconds.
gas_limit: String
The maximum amount of gas that can be used for the transaction.
value: String
The value of the transaction in wei.
to: Vec<u8>
The address of the recipient of the transaction.
from: Vec<u8>
The address of the sender of the transaction.
data: Vec<u8>
The data payload of the transaction.
Trait Implementations§
§impl Clone for EvmTransaction
impl Clone for EvmTransaction
§fn clone(&self) -> EvmTransaction
fn clone(&self) -> EvmTransaction
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 more§impl Debug for EvmTransaction
impl Debug for EvmTransaction
§impl<'de> Deserialize<'de> for EvmTransaction
impl<'de> Deserialize<'de> for EvmTransaction
§fn deserialize<__D>(
__deserializer: __D
) -> Result<EvmTransaction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EvmTransaction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for EvmTransaction
impl PartialEq for EvmTransaction
§fn eq(&self, other: &EvmTransaction) -> bool
fn eq(&self, other: &EvmTransaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for EvmTransaction
impl Serialize for EvmTransaction
§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 StructuralPartialEq for EvmTransaction
Auto Trait Implementations§
impl RefUnwindSafe for EvmTransaction
impl Send for EvmTransaction
impl Sync for EvmTransaction
impl Unpin for EvmTransaction
impl UnwindSafe for EvmTransaction
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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