Enum ethcontract::transaction::Transaction
source · pub enum Transaction {
Request(TransactionRequest),
Raw {
bytes: Bytes,
hash: H256,
},
}Expand description
Represents a prepared and optionally signed transaction that is ready for
sending created by a TransactionBuilder.
Variants§
Request(TransactionRequest)
A structured transaction request to be signed locally by the node.
Raw
A signed raw transaction request.
Implementations§
source§impl Transaction
impl Transaction
Trait Implementations§
source§impl Clone for Transaction
impl Clone for Transaction
source§fn clone(&self) -> Transaction
fn clone(&self) -> Transaction
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 more