pub struct EthereumTransactionParameters {
pub nonce: U256,
pub gas_price: U256,
pub gas_limit: U256,
pub to: EthereumAddress,
pub amount: U256,
pub data: Vec<u8>,
}Fields§
§nonce: U256§gas_price: U256§gas_limit: U256§to: EthereumAddress§amount: U256§data: Vec<u8>Implementations§
Source§impl EthereumTransactionParameters
impl EthereumTransactionParameters
pub fn to_rlp(&self) -> Result<RlpStream, TransactionError>
Trait Implementations§
Source§impl Clone for EthereumTransactionParameters
impl Clone for EthereumTransactionParameters
Source§fn clone(&self) -> EthereumTransactionParameters
fn clone(&self) -> EthereumTransactionParameters
Returns a duplicate 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 Hash for EthereumTransactionParameters
impl Hash for EthereumTransactionParameters
Source§impl PartialEq for EthereumTransactionParameters
impl PartialEq for EthereumTransactionParameters
Source§fn eq(&self, other: &EthereumTransactionParameters) -> bool
fn eq(&self, other: &EthereumTransactionParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for EthereumTransactionParameters
impl StructuralPartialEq for EthereumTransactionParameters
Auto Trait Implementations§
impl Freeze for EthereumTransactionParameters
impl RefUnwindSafe for EthereumTransactionParameters
impl Send for EthereumTransactionParameters
impl Sync for EthereumTransactionParameters
impl Unpin for EthereumTransactionParameters
impl UnwindSafe for EthereumTransactionParameters
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