pub struct SignedTransaction {
pub message_hash: H256,
pub v: u64,
pub r: H256,
pub s: H256,
pub raw_transaction: Bytes,
pub transaction_hash: H256,
}
Expand description
Data for offline signed transaction
Fields§
§message_hash: H256
The given message hash
v: u64
V value with chain replay protection.
r: H256
R value.
s: H256
S value.
raw_transaction: Bytes
The raw signed transaction ready to be sent with send_raw_transaction
transaction_hash: H256
The transaction hash for the RLP encoded transaction.
Trait Implementations§
Source§impl Clone for SignedTransaction
impl Clone for SignedTransaction
Source§fn clone(&self) -> SignedTransaction
fn clone(&self) -> SignedTransaction
Returns a copy 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 Debug for SignedTransaction
impl Debug for SignedTransaction
Source§impl<'a> From<&'a SignedTransaction> for Recovery
impl<'a> From<&'a SignedTransaction> for Recovery
Source§fn from(tx: &'a SignedTransaction) -> Self
fn from(tx: &'a SignedTransaction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SignedTransaction
impl PartialEq for SignedTransaction
impl StructuralPartialEq for SignedTransaction
Auto Trait Implementations§
impl Freeze for SignedTransaction
impl RefUnwindSafe for SignedTransaction
impl Send for SignedTransaction
impl Sync for SignedTransaction
impl Unpin for SignedTransaction
impl UnwindSafe for SignedTransaction
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