pub struct Transaction {
pub nonce: Vec<u8>,
pub gas_price: Vec<u8>,
pub gas_limit: Vec<u8>,
pub recipient: [u8; 20],
pub value: Vec<u8>,
pub data: Vec<u8>,
}Fields§
§nonce: Vec<u8>Nonce must be big-endian encoded, no trailing zeroes.
gas_price: Vec<u8>Gas price must be big-endian encoded, no trailing zeroes.
gas_limit: Vec<u8>Gas limit must be big-endian encoded, no trailing zeroes.
recipient: [u8; 20]§value: Vec<u8>Value must be big-endian encoded, no trailing zeroes.
data: Vec<u8>Auto Trait Implementations§
impl Freeze for Transaction
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnsafeUnpin for Transaction
impl UnwindSafe for Transaction
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