Struct block::Transaction
[−]
[src]
pub struct Transaction {
pub nonce: U256,
pub gas_price: Gas,
pub gas_limit: Gas,
pub action: TransactionAction,
pub value: U256,
pub signature: TransactionSignature,
pub input: Vec<u8>,
}Fields
nonce: U256
gas_price: Gas
gas_limit: Gas
action: TransactionAction
value: U256
signature: TransactionSignature
input: Vec<u8>
Methods
impl Transaction[src]
Trait Implementations
impl Clone for Transaction[src]
fn clone(&self) -> Transaction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for Transaction[src]
impl PartialEq for Transaction[src]
fn eq(&self, __arg_0: &Transaction) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Transaction) -> bool
This method tests for !=.
impl Eq for Transaction[src]
impl Encodable for Transaction[src]
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance
impl Decodable for Transaction[src]
fn decode(rlp: &UntrustedRlp) -> Result<Self, DecoderError>
Decode a value from RLP bytes