Struct ethjson::blockchain::transaction::Transaction
source · [−]pub struct Transaction {Show 14 fields
pub transaction_type: Option<Uint>,
pub data: Bytes,
pub gas_limit: Uint,
pub gas_price: Option<Uint>,
pub nonce: Uint,
pub r: Uint,
pub s: Uint,
pub v: Uint,
pub value: Uint,
pub chain_id: Option<Uint>,
pub access_list: Option<AccessList>,
pub max_fee_per_gas: Option<Uint>,
pub max_priority_fee_per_gas: Option<Uint>,
pub hash: Option<H256>,
}Expand description
Blockchain test transaction deserialization.
Fields
transaction_type: Option<Uint>data: Bytesgas_limit: Uintgas_price: Option<Uint>nonce: Uintr: Uints: Uintv: Uintvalue: Uintchain_id: Option<Uint>access_list: Option<AccessList>max_fee_per_gas: Option<Uint>max_priority_fee_per_gas: Option<Uint>hash: Option<H256>Trait Implementations
sourceimpl Debug for Transaction
impl Debug for Transaction
sourceimpl<'de> Deserialize<'de> for Transaction
impl<'de> Deserialize<'de> for Transaction
sourcefn 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
sourceimpl PartialEq<Transaction> for Transaction
impl PartialEq<Transaction> for Transaction
sourcefn eq(&self, other: &Transaction) -> bool
fn eq(&self, other: &Transaction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &Transaction) -> bool
fn ne(&self, other: &Transaction) -> bool
This method tests for !=.
impl StructuralPartialEq for Transaction
Auto Trait Implementations
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more