Struct ic_web3_rs::types::SignedTransaction
source · 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
source§fn eq(&self, other: &SignedTransaction) -> bool
fn eq(&self, other: &SignedTransaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SignedTransaction
Auto Trait Implementations§
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