pub enum EthereumTransaction {
Eip155(Eip155Transaction),
Eip1559(Eip1559Transaction),
Eip2930(Eip2930Transaction),
}
Variants§
Implementations§
source§impl EthereumTransaction
impl EthereumTransaction
pub fn fake_sign_rpc(self, from: AddressWithSpace) -> SignedTransaction
source§impl EthereumTransaction
impl EthereumTransaction
pub fn gas(&self) -> &U256
pub fn data(&self) -> &Bytes
pub fn nonce(&self) -> &U256
pub fn action(&self) -> &Action
pub fn value(&self) -> &U256
pub fn gas_price(&self) -> &U256
pub fn max_priority_gas_price(&self) -> &U256
pub fn chain_id(&self) -> Option<u32>
pub fn nonce_mut(&mut self) -> &mut U256
pub fn access_list(&self) -> Option<&AccessList>
Trait Implementations§
source§impl Clone for EthereumTransaction
impl Clone for EthereumTransaction
source§fn clone(&self) -> EthereumTransaction
fn clone(&self) -> EthereumTransaction
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 EthereumTransaction
impl Debug for EthereumTransaction
source§impl<'de> Deserialize<'de> for EthereumTransaction
impl<'de> Deserialize<'de> for EthereumTransaction
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 EthereumTransaction
impl PartialEq for EthereumTransaction
source§fn eq(&self, other: &EthereumTransaction) -> bool
fn eq(&self, other: &EthereumTransaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EthereumTransaction
impl Serialize for EthereumTransaction
impl Eq for EthereumTransaction
impl StructuralPartialEq for EthereumTransaction
Auto Trait Implementations§
impl RefUnwindSafe for EthereumTransaction
impl Send for EthereumTransaction
impl Sync for EthereumTransaction
impl Unpin for EthereumTransaction
impl UnwindSafe for EthereumTransaction
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