pub enum TypedNativeTransaction {
Cip155(NativeTransaction),
Cip2930(Cip2930Transaction),
Cip1559(Cip1559Transaction),
}
Variants§
Implementations§
source§impl TypedNativeTransaction
impl TypedNativeTransaction
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 chain_id(&self) -> &u32
pub fn epoch_height(&self) -> &u64
pub fn storage_limit(&self) -> &u64
pub fn gas_price(&self) -> &U256
pub fn max_priority_gas_price(&self) -> &U256
pub fn nonce_mut(&mut self) -> &mut U256
pub fn access_list(&self) -> Option<&AccessList>
source§impl TypedNativeTransaction
impl TypedNativeTransaction
pub fn fake_sign_rpc(self, from: AddressWithSpace) -> SignedTransaction
Trait Implementations§
source§impl Clone for TypedNativeTransaction
impl Clone for TypedNativeTransaction
source§fn clone(&self) -> TypedNativeTransaction
fn clone(&self) -> TypedNativeTransaction
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 TypedNativeTransaction
impl Debug for TypedNativeTransaction
source§impl<'de> Deserialize<'de> for TypedNativeTransaction
impl<'de> Deserialize<'de> for TypedNativeTransaction
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 TypedNativeTransaction
impl PartialEq for TypedNativeTransaction
source§fn eq(&self, other: &TypedNativeTransaction) -> bool
fn eq(&self, other: &TypedNativeTransaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TypedNativeTransaction
impl Serialize for TypedNativeTransaction
impl Eq for TypedNativeTransaction
impl StructuralPartialEq for TypedNativeTransaction
Auto Trait Implementations§
impl RefUnwindSafe for TypedNativeTransaction
impl Send for TypedNativeTransaction
impl Sync for TypedNativeTransaction
impl Unpin for TypedNativeTransaction
impl UnwindSafe for TypedNativeTransaction
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