pub struct MultiTransaction {
pub data: Vec<Bytes>,
pub access_lists: Option<Vec<Option<AccessList>>>,
pub gas_limit: Vec<Uint>,
pub gas_price: Option<Uint>,
pub nonce: Uint,
pub secret: Option<H256>,
pub to: MaybeEmpty<Address>,
pub value: Vec<Uint>,
pub max_fee_per_gas: Option<Uint>,
pub max_priority_fee_per_gas: Option<Uint>,
}
Expand description
State test transaction deserialization.
Fields
data: Vec<Bytes>
Transaction data set.
access_lists: Option<Vec<Option<AccessList>>>
Optional access list
gas_limit: Vec<Uint>
Gas limit set.
gas_price: Option<Uint>
Gas price.
nonce: Uint
Nonce.
secret: Option<H256>
Secret key.
to: MaybeEmpty<Address>
To.
value: Vec<Uint>
Value set.
max_fee_per_gas: Option<Uint>
Max fee per gas.
max_priority_fee_per_gas: Option<Uint>
Max priority fee per gas.
Implementations
sourceimpl MultiTransaction
impl MultiTransaction
sourcepub fn select(&self, indexes: &PostStateIndexes) -> SignedTransaction
pub fn select(&self, indexes: &PostStateIndexes) -> SignedTransaction
Build transaction with given indexes.
Trait Implementations
sourceimpl Debug for MultiTransaction
impl Debug for MultiTransaction
sourceimpl<'de> Deserialize<'de> for MultiTransaction
impl<'de> Deserialize<'de> for MultiTransaction
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<MultiTransaction> for MultiTransaction
impl PartialEq<MultiTransaction> for MultiTransaction
sourcefn eq(&self, other: &MultiTransaction) -> bool
fn eq(&self, other: &MultiTransaction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MultiTransaction) -> bool
fn ne(&self, other: &MultiTransaction) -> bool
This method tests for !=
.
impl StructuralPartialEq for MultiTransaction
Auto Trait Implementations
impl RefUnwindSafe for MultiTransaction
impl Send for MultiTransaction
impl Sync for MultiTransaction
impl Unpin for MultiTransaction
impl UnwindSafe for MultiTransaction
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