pub struct LegacyTransactionMessage {
pub nonce: U256,
pub gas_price: U256,
pub gas_limit: U256,
pub action: TransactionAction,
pub value: U256,
pub input: Vec<u8>,
pub chain_id: Option<u64>,
}
Fields§
§nonce: U256
§gas_price: U256
§gas_limit: U256
§action: TransactionAction
§value: U256
§input: Vec<u8>
§chain_id: Option<u64>
Implementations§
Trait Implementations§
Source§impl Clone for LegacyTransactionMessage
impl Clone for LegacyTransactionMessage
Source§fn clone(&self) -> LegacyTransactionMessage
fn clone(&self) -> LegacyTransactionMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LegacyTransactionMessage
impl Debug for LegacyTransactionMessage
Source§impl Encodable for LegacyTransactionMessage
impl Encodable for LegacyTransactionMessage
Source§impl From<LegacyTransaction> for LegacyTransactionMessage
impl From<LegacyTransaction> for LegacyTransactionMessage
Source§fn from(t: LegacyTransaction) -> Self
fn from(t: LegacyTransaction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LegacyTransactionMessage
impl PartialEq for LegacyTransactionMessage
Source§fn eq(&self, other: &LegacyTransactionMessage) -> bool
fn eq(&self, other: &LegacyTransactionMessage) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for LegacyTransactionMessage
impl StructuralPartialEq for LegacyTransactionMessage
Auto Trait Implementations§
impl Freeze for LegacyTransactionMessage
impl RefUnwindSafe for LegacyTransactionMessage
impl Send for LegacyTransactionMessage
impl Sync for LegacyTransactionMessage
impl Unpin for LegacyTransactionMessage
impl UnwindSafe for LegacyTransactionMessage
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