pub struct Cip2930Transaction {
pub nonce: U256,
pub gas_price: U256,
pub gas: U256,
pub action: Action,
pub value: U256,
pub storage_limit: u64,
pub epoch_height: u64,
pub chain_id: u32,
pub data: Bytes,
pub access_list: Vec<AccessListItem>,
}
Fields§
§nonce: U256
§gas_price: U256
§gas: U256
§action: Action
§value: U256
§storage_limit: u64
§epoch_height: u64
§chain_id: u32
§data: Bytes
§access_list: Vec<AccessListItem>
Trait Implementations§
source§impl Clone for Cip2930Transaction
impl Clone for Cip2930Transaction
source§fn clone(&self) -> Cip2930Transaction
fn clone(&self) -> Cip2930Transaction
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 Cip2930Transaction
impl Debug for Cip2930Transaction
source§impl Decodable for Cip2930Transaction
impl Decodable for Cip2930Transaction
source§impl Default for Cip2930Transaction
impl Default for Cip2930Transaction
source§fn default() -> Cip2930Transaction
fn default() -> Cip2930Transaction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Cip2930Transaction
impl<'de> Deserialize<'de> for Cip2930Transaction
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 Encodable for Cip2930Transaction
impl Encodable for Cip2930Transaction
source§impl PartialEq for Cip2930Transaction
impl PartialEq for Cip2930Transaction
source§fn eq(&self, other: &Cip2930Transaction) -> bool
fn eq(&self, other: &Cip2930Transaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Cip2930Transaction
impl Serialize for Cip2930Transaction
impl Eq for Cip2930Transaction
impl StructuralPartialEq for Cip2930Transaction
Auto Trait Implementations§
impl RefUnwindSafe for Cip2930Transaction
impl Send for Cip2930Transaction
impl Sync for Cip2930Transaction
impl Unpin for Cip2930Transaction
impl UnwindSafe for Cip2930Transaction
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