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§
source§impl Clone for EvmTransaction
impl Clone for EvmTransaction
source§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 moresource§impl Debug for EvmTransaction
impl Debug for EvmTransaction
source§impl<'de> Deserialize<'de> for EvmTransaction
impl<'de> Deserialize<'de> for EvmTransaction
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 PartialEq for EvmTransaction
impl PartialEq for EvmTransaction
source§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 ==
.source§impl Serialize for EvmTransaction
impl Serialize for EvmTransaction
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§
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